Home     PHP / Javascript / Ajax
PHP Sorting HTML Tables Using Javascript Script

PHP Script Codes > miscellaneous

Sorting HTML Tables Using Javascript Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 6332

PHP Script Codes > 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.