This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes populating list boxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "populating list boxes " Watch "populating list boxes " New topic
Author

populating list boxes

C Vivek
Ranch Hand

Joined: Oct 03, 2004
Posts: 115
Hi Guys,
How do I populate list boxes based on the response of the previous one.
For Example, if I have a combo box with countries, the response of a user click should result in another combobox populating states of that country.

could you please list the technologies used. Where I can I write the logic. Can it be done at the clients end using Javascript? What is the best way?

Thanks in Advance
Abhilash George
Greenhorn

Joined: Apr 28, 2006
Posts: 13
yes it can be done ,
you need to ensure that for the onchange of the list call an action
by calling the javascript function.

regards


george
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: populating list boxes
 
Similar Threads
Submitting only selected textboxes in a JSP
Problem with pop-up window
About checkboxList...
Populating each row of a single column with values from the database in a combo box .
Populating each row of a column with a combo box containing values from the database