Return to Snippet

Revision: 36754
at November 25, 2010 21:14 by thiswayup


Initial Code
//store the element temporaily
var t= $('#badlyPlaceElement').clone();
//remove the original
$('#badlyPlaceElement').remove();
//add it back in the right place
$('#newPlace').prepend(t[0]);

Initial URL

                                

Initial Description

                                

Initial Title
quick way to move elements around using jquery

Initial Tags
javascript, jquery

Initial Language
JavaScript