Get new jQuery plugins just once a week

×

SortedList

FavoriteLoadingAdd to favorites

April 23, 2014

SortedList | jQuery plugin to sort any DOM element

SortedList is a jQuery plugin to sort a list of DOM elements the way you want like Li , tr , options and even divs.
Example Code :-

$( "tbody" ).sortedList({
selector : "tr",
sort : [
function( el )
{
// Return an object, so you can pass the order and data to sort with
return {
order : order ? "desc" : "asc" ,
data : $( el ).find( "td" ).eq( columnIndex ).text( )
};
}
]
});

Created by Niels

Download

Example

SortedList

Related posts:

Resumable js
Can-js
Advanced News Ticker
SortedList jQuery plugin

http://jquer.in/wp-content/uploads/2014/04/SortedList.jpg

jQuery plugin

Sign up for our weekly newsletter.

* We won't spam you ever