February 04, 2004

Make your HTML tables sortable

This page includes an easy 3-step process to get your table information to be sortable with one click (and without a reload):

1. Include the Javascript library, by putting a link to it in the HEAD of your page, like so:

<script src="sorttable.js">

2. Mark your table as a sortable one by giving it a class of "sortable":

<table class="sortable">

3. Ensure that your table has an ID:

<table class="sortable" id="unique_id">


sorttable: Make all your tables sortable

Posted by mark at February 4, 2004 05:22 PM | TrackBack
Comments
Post a comment









Remember personal info?