jQuery Examples / jQuery Tablesorter
Français
English
Monday, 2012-05-28

jQuery tablesorter

see example: http://tablesorter.com/docs/

HTML Code:

<table id="myTable">
</table>

Javascript Code:

$(document).ready(function() 
{
$("#myTable").tablesorter( {sortList: [[0,0], [1,0]]} );
}
);
 

Last Name

First Name

Email

Due

Web Site

Smith

John

[email protected]

$50.00

www.ecodev.ch

Bach

Frank

[email protected]

$50.00

www.ecodev.ch

Doe

Jason

[email protected]

$100.00

www.ecodev.ch

Conway

Tim

[email protected]

$50.00

www.ecodev.ch