jQuery: bug_4087
by pbramos
HTML
<ul id="m">
<li class="hl">
<div>c1</div>
h1
</li>
<li>
<div>c2</div>
h2
</li>
</ul>
JavaScript
//$('#m li:first-child div:last-child').css('background', 'green');
$("#m div").insertAfter("#m li:first-child div:last-child");//combine in 1