Simple jQuery

I can’t seem to do this anywhere.

I have this:


<div id="div-one">
//various rubbish inside
</div>

<div id="div-two>
//various rubbish inside
</div>

And I need jQuery to edit the HTML so that it results in this:


<div id="div-one">
//various rubbish inside
//various rubbish inside
</div>

I can’t seem to do it. I’ve looked at before, after, insertBefore etc. but it doesn’t work.

Try this:


$('#div-one').append($('#div-two').html());
$('#div-two').remove();

ScallioXTX solved your problem!
This is working example on JSBin: http://jsbin.com/imocav/1/edit