JQuery: How to remove a div and put it in another place?
<div id="wrapper"> <div id="example1"> <div id="navigation"> </div> </div> <div id="example2"> </div> </div> In the above example, let's say I want to remove #navigation from # example1 and put it in # example2. How can I use jQuery for this? Am I just using remove and add or is there an easier way?
+4
1 answer