aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes dynamically poplulate select menus based on first select menu 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 "dynamically poplulate select menus based on first select menu" Watch "dynamically poplulate select menus based on first select menu" New topic
Author

dynamically poplulate select menus based on first select menu

Chhaya Dhanani
Ranch Hand

Joined: Apr 11, 2001
Posts: 70
hi all,
i have two select dropdowns.
one has name of cities which is fetched from the database and displayed using a vector
depending on the city select , i want to lsit the executivenames for that city which also i get from database and is stored in vector
i want to know how can i achieve this using javascript on client side
i.e
one a city is selected, only executive name from that city are shown in the second select box.
if i select city as ALL then all executive names should be shown
need this on urgent basis....
neck is in the line of fire...
Thanx in advance
Chhaya
Charlie Sturman
Ranch Hand

Joined: Apr 04, 2002
Posts: 112
 
jQuery in Action, 2nd edition
 
subject: dynamically poplulate select menus based on first select menu