File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Problem in drop down box

Rishabh Rathi

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: 544
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.

I agree. Here's the link:
subject: Problem in drop down box
It's not a secret anymore!