This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dynamically poplulate select menus based on first select menu

 
Chhaya Dhanani
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic