• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic combo box

 
                            
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i my application i need to select two values
for example name of country and state.
if i select name of country from first then automatically
only names of states in that country should come in the second combo
how can i achieve this
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Santosh,

This is a very common question.
Search this, and the HTML/Javascript forum.
There are several approaches to doing this.
All have been discussed at length.

When searching, you'll probably have better luck if you use the term "select list". Combo boxes do not exist in HTML.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64622
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A term for this that I see bandied about often is "dependent dropdowns".
 
Joshua Cloch
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or you can search "double combo".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic