Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-22-2006, 07:12 PM   PM User | #1
MCD4x4
Regular Coder

 
Join Date: Feb 2003
Location: Brooklyn, New York
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
MCD4x4 is an unknown quantity at this point
Is there a way to keep a paged alphabetized?

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.
__________________
BrianNY/Rookie
MCD4x4 is offline   Reply With Quote
Old 04-22-2006, 07:40 PM   PM User | #2
nathan_lamothe
New Coder

 
Join Date: Apr 2006
Location: Joussard, Alberta
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
nathan_lamothe is an unknown quantity at this point
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...
nathan_lamothe is offline   Reply With Quote
Old 04-22-2006, 10:18 PM   PM User | #3
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,532
Thanks: 0
Thanked 503 Times in 494 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
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.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Old 04-23-2006, 12:42 AM   PM User | #4
nathan_lamothe
New Coder

 
Join Date: Apr 2006
Location: Joussard, Alberta
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
nathan_lamothe is an unknown quantity at this point
Hadn't thought of that.
Thanks felgall.

I keep learning here
nathan_lamothe is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:05 AM.


Advertisement
Log in to turn off these ads.