HighDots Forums  

Javascript - preventing duplicates.

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Javascript - preventing duplicates. in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Singularity.co.uk
 
Posts: n/a

Default Javascript - preventing duplicates. - 08-04-2004 , 10:10 AM






Hi

I need a bit of javascript validation for the following problem as I am
almost a complete newbie with javascript.

I have three sections in my menu, each contains a dynamic number of items.
The client wants a page which he can choose which way to order these items.
I have managed this by displaying a table with the rows layed out as
follows:

Section | Item | Order By

Under the Order By column I have a drop down menu for each item, which has
the options of 1 to ?, depending on the number of items in the section.

The problem is how to not allow the user to select the same number for any
two items in the same section. This is what I need the javascript for.

Any ideas or pointers are more than welcome.

Thanks in advance

Brendan
___________________________________
Brendan.Collins (AT) NOSPAMSingularity (DOT) co.uk
Remove the NOSPAM
http://www.singularity.co.uk
___________________________________




Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.