how can i append a div directly to the window object?
<html>
<head>
</head>
<body>
开发者_JS百科 <div><div>
<ul>..</ul>
</body>
</html>
and i want to append an element after the ul, but not something like $('ul').after(element), i just want to append it directly to body. thanks
$("body").append(element);
or $(element).appendTo("body");
精彩评论