jQuery Reverse Order plugin

Reverse the order of any group of elements contained within a parent element.

Written by Corey H Maass for Arc90


Examples:

Three examples below all use the class of "item" to specify the items that should be reordered. Look at the source code to see how it's being used.

A div containing paragraphs.

item 1

item 2

item 3

item 4

An unordered list containing list items.

A select with option groups.

Checkboxes with the option to reverse the order.

Multiselect with the option to reverse the order.


Creative Commons License
jQuery Reverse Order plugin by Corey H Maass is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.