I have the following configuration:
<div><div id='box1'> </div><div id='box2'> </div><div id='box3'> </div><div id='box4'> </div></div>
what i need to do is to invert the order of the divs
<div><div id='box4'> </div><div id='box3'> </div><div id='box2'> </div><div id='box1'> </div></div>
is there a fast way to do this with jQuery without cloning, removing and replacing the items?
I guess you’re looking for jQuery Reverse Order plugin.