$("#div2").html($("#div1").html()); <div id="div1"><span>jQuery 1.3.1</span></div> <div id="div2"></div>