Sorting HTML Tables Using Javascript
This JavaScript code can be used to convert tables in ordinary HTML into sortable ones by associating each title column with an onClick event to automatically sort the data rows. No additional coding is necessary. All you need to do is give your table an ID field, include the sortTable.js file and call initTable in your document's onLoad method.
- Visit Site:
- Sorting HTML Tables Using Javascript
- Filed in:
-
JavaScript / Scripts & Programs / Miscellaneous
- Date Added:
- Jan 24, 2002
- Last Updated:
- Feb 11, 2009
License and Pricing Information
| Publisher site visits: | 6,211 |
|---|---|
| Average rating: | 4.38 |
| Total ratings: | 15 |
Reviews and Ratings
Works for me!
Rating: 5 - Excellent (Jan 28th, 2007)
Nice idea, but too slow or buggy
Rating: 3 - Average (Mar 10th, 2006)
keep formating
Rating: 5 - Excellent (Aug 25th, 2005)
