Write jQuery code to append a div element (and all of its contents) dynamically to the body element
- جي كويري
- 2021-09-18
- mhanasmh00489829403
الأجوبة
HTML Code :
<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<meta charset="utf-8">
<title>Append a div element (and all of its contents) dynamically to the body element</title>
</head>
<body>
</body>
</html>
JavaScript Code :
$( "<div><h1>JQuery Core</h1></div>" ).appendTo( "body" );القوائم الدراسية التي ينتمي لها السؤال
معلومات ذات صلة