wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes removing items from drop down in Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "removing items from drop down in Javascript" Watch "removing items from drop down in Javascript" New topic
Author

removing items from drop down in Javascript

lavi mendonca
Ranch Hand

Joined: Apr 24, 2002
Posts: 53
i have 2 dropdown/ list parent and child. If one of the options in the parent list is selected, then in the child listbox, i only want to display some of the options and not all the values previously displayed. If i choose some other option in the parent dropdown, then some other values should be displayed in the child drop down. But no empty row should be displayed..Could someone help out..
Thanks.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If you do a search on google for "DOuble Combo JavaScript" you should get your answers on how to do it.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: removing items from drop down in Javascript
 
Similar Threads
Add items in Drop Down List from a child window to parent window.
Help Regarding DropDownList in Struts
Hi All
removing items from drop down in Javascript
doubt regarding dropdown list