JavaScript Sortable Table
Well since my last code snip about scrolling a div to the bottom was really popular, I thought that I would dust off an old script of mine and bring it out for people to play with.
People always ask how to make a table sortable with JavaScript and this code on the following link to my site allows you do it it. I will warn you that the code is not the greatest implementation to add it to the table, but it sure does a good job at sorting.
So if you are using the server to sort a simple table, you are wasting time and bandwidth when it can be done on the client.
The example and code:http://www.pascarello.com/sortTable/
Hope that helps!
Eric Pascarello
Coauthor of Ajax In Action
Moderator of HTML/JavaScript at www.JavaRanch.com
Author of: JavaScript: Your Visual Blueprint for Dynamic Web Pages