JavascriptToolbox.com Now Available!

Almost all of my javascript code has been moved over to its new home at The Javascript Toolbox. Please go there to find the latest scripts, information, etc. These pages will remain here for a while for historical purposes in case anyone needs a production copy of old code.
Sortable Table
[Toolbox]  [Example]  [Source]  [Documentation]
Description:
A common need is to have a table of results or data in the browser and to let the user sort the columns in the browser without needing to go back to the server each time.

This complex script allows that functionality using extensive DHTML.

In older browsers (<4) no sorting will happen, and in Netscape the tables may not contain form elements if you wish them to be sorted.

Example:


(Click on the plain text column headers to sort)
Submitted
Sel Order Num S Ref Date Serial    

Name ID Bonus