1var e = $('<div style="display:block; float:left;width:'+width+'px; height:'+height+'px; margin-top:'+positionY+'px;margin-left:'+positionX+'px;border:1px dashed #CCCCCC;"></div>');
2$('#box').append(e);
3e.attr('id', 'myid');
4
1<ul>
2 <li>list item 1</li>
3 <li>list item 2</li>
4 <li>list item 3</li>
5</ul>
6<p>a paragraph</p>
7
1<div class="container">
2 <div class="inner">Hello</div>
3 <div class="inner">Goodbye</div>
4 <h2>Greetings</h2>
5</div>
6