[Solved] How do I move a div in the html? [closed]


This must work :

$("#two").appendTo(".wrapper");

This must also work :

$(".wrapper").append($("#two"));

append and appendTo are considered moving functions in jQuery. You must look at the docs more.

Demo : http://jsfiddle.net/hungerpain/gjJJe/

1

solved How do I move a div in the html? [closed]