/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//store the element temporaily var t= $('#badlyPlaceElement').clone(); //remove the original $('#badlyPlaceElement').remove(); //add it back in the right place $('#newPlace').prepend(t[0]);