RsD0p9BK
7/26/2013 - 1:19 PM

http://stackoverflow.com/questions/8034918/jquery-switch-elements-in-dom

$("#element1").before($("#element2"));
//or
$("#element1").after($("#element2"));