$('#button').on('click', function() { var sample = document.getElementById('sample'); var target = document.getElementById('target'); target.appendChild(sample); });
<div id="source"> <p id="sample">Blah Blah Blah</p> <p>(This <p> will be removed)</p> </div> <button id="button">appendChild</button> <div id="target"> </div>
#sample { background-color: #eee; }