A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Populating dropdown menu using hashmaps
Joined: Aug 01, 2011
Aug 01, 2011 12:42:44
I want to populate a multilevel drop down. How can we use a hashmap to populate it?? I have 3 menus , the second value depends on first , and the third value depend on second value selected ?
Author and ninkuma
Joined: Jan 10, 2002
Aug 01, 2011 12:57:50
This is a very common question, and one that has been answered many times in the HTML forum. Search for "dependent" or "cascading" dropdowns.
The short answer is to use Ajax to fetch the values of each subsequent drop down as values are selected.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Populating dropdown menu using hashmaps
How do I populate dynamic combox items
Using Values in a List form one JSP to Another
Please help!! Populate second list depending on first
problem with struts2 drop down
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015