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 Reg : 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 "Reg : Drop-down box" Watch "Reg : Drop-down box" New topic

Reg : Drop-down box

Aravind JAI

Joined: Feb 06, 2006
Posts: 18
I have 2 drop down boxes.When selecting a value from the first drop down box,the second drop down should list the values corresponding to the first drop down value selection..Like this i have 5 rows of drop down boxes..

If i am selecting the same value in the first drop down in the second row,the second drop down list should not contain the same value in that list.(ie Previously selected value in the second drop down should not be in the second row 2nd drop down)..i need a java script code for me if u can..
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
basic code, wrote without testing...

Aravind JAI

Joined: Feb 06, 2006
Posts: 18
Thanks Eric
I agree. Here's the link:
subject: Reg : Drop-down box
It's not a secret anymore!