Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dependent Drop-down Combo boxes

 
Sherryl Philip
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In many situations, you will have two combo boxes, with the contents of the second dependent on the value selected in the first. That is, each item in the first combo box is associated with a list. To handle this, you need for the first combo box to do a submit when it changes, so that you have a chance to update the second.
For example, when i choose a particular country in a combo box the corresponding states should appear in the second combo box. Please help me out!
Can u just solve this problem using struts plz?
 
Brahim Bakayoko
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javascript
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is probably the 2nd-most frequently asked question in these forums (right behind 'how do I page database results?'). Do a search and you will find the previous discussions.

Meanwhile, I'm moving this to the Struts forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic