The arc90 developers team released simple but useful plugin for jQuery that allows you to reverse the order of a group of DOM elements. Here's the example of usage this plugin.
HTML
<div id="items">
<p class="item">item 1</p>
<p class="item">item 2</p>
<p class="item">item 3</p>
<p class="item">item 4</p>
</div><!-- items -->
JavaScript
$('#items .item').reverseOrder();
You can download this plugin and read more about it on the arc90 website.
Comments