Ver originaldiv2 = document.getElementById('idDiv2');document.getElementById('idDiv1').appendChild(div2);