File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Problem in drop down box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem in drop down box" Watch "Problem in drop down box" New topic
Author

Problem in drop down box

Rishabh Rathi
Greenhorn

Joined: Mar 07, 2011
Posts: 13
Hello friends,
I have a problem in my javascript code.
I am using 4 drop down box with four entries.I want that the entry selected in first drop down box should not be repeated
in any other drop down menu.Please help me out
amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 512
Hi,
Using jQuery or any other JavaScript library you can remove that particular element selected in the first dropdown.
1) Firstly give Ids to the dropdowns
2) On selection of the item of the first dropdown get hold of other dropdowns and remove that element.

Regards,
Amit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in drop down box