I Have 5 spans i am trying to move them up/down (swap positions) in jquery
Up! Down!
Consider this example. Its not styled up well or anything, but clicking on Up or Down inserts that element either before its previous sibling or after its next sibling.
Test1 Up! Down! Test2 Up! Down! Test3 Up! Down! Test4 Up! Down! Test5 Up! Down!