File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Dependent Drop-down Combo boxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dependent Drop-down Combo boxes" Watch "Dependent Drop-down Combo boxes" New topic
Author

Dependent Drop-down Combo boxes

Sherryl Philip
Greenhorn

Joined: Jul 02, 2004
Posts: 20
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

Joined: Aug 29, 2003
Posts: 155
javascript


SCJP, SCWCD, SCBCD, IBM CSD WebSphere v5, <br />A+, MCP 2000 and 2000 server, CST, and few incompleted certification tracks.<br /> <br />Ivory Coast<br /> <br />Analyze your web Request/Response @ <a href="http://webtools.servehttp.com" target="_blank" rel="nofollow">http://webtools.servehttp.com</a> down for a while...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dependent Drop-down Combo boxes
 
Similar Threads
complicated combo boxes with Ajax
JavaScript Conditional Operator(i.e., ?)
Onchange JCombobox
How to connect multiple combo boxes?
problem with extracting values from a combo box.....