View Full Version : Is there a way to keep a paged alphabetized?

04-22-2006, 08:12 PM
I have to make a page for club contacts. Is there a way to keep the members info alphabetized even as I add new members? Or will I have to keep doing it manually? Thanks.

04-22-2006, 08:40 PM
Javascript can be used to sort html tables. I haven't got that far in my own understanding of javascript, but I suspect if you googled "javascript table sort" you'd come up with some useful examples.

Assuming of course your contact info is stored in a table...

04-22-2006, 11:18 PM
If you do it with Javascript then anyone with Javascript disabled will see them in the wrong order. You would probably do better to use a server side scripting language to sort the entries before sending the page.

04-23-2006, 01:42 AM
Hadn't thought of that.
Thanks felgall.

I keep learning here :)