Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dynamically populating drop down list

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks, i am having two drop down list. List1 has countries and List2 has corresponding state the countries in List1.

If is select US in List1, can i populate the states in US in List2. If the user changes to India in List1 the the List2 is populated with the corresponding states, using javascript.

thnx in advance
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
called a double combo or linked select. You can either do it with a traditional postback or with Ajax. Search Google, there are plenty of examples out there.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic