Dynamic drop down

Posted on 2005-04-16
Medium Priority
Last Modified: 2009-07-29

In a struts project I have to create ONE web page with around 5-6 drop downs. The content of one drop down depends on the value selected in the previous one.


drop down 1 : UK (selected)

drop down 2 : LONDON

BUT if

drop down 1 : UK
FRANCE (selected)

drop down 2 : PARIS

Can any one tell me I can achieve this.

Or how I  can get the information from the action class and pass this information (arraylists consists of available options) into a 'javascript' function and initialize the variables? These variables i can then use to populate the drop downs.

Thanks for the all the help in advance
Question by:achaljalan
1 Comment

Accepted Solution

koppcha earned 500 total points
ID: 13797810
This is one of the questions i am involved in.I had the same issue.

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I tried to use the SharePoint app to Import a Spreadsheet and import an Excel sheet into a Team site made in SharePoint 2016. But that just resulted in getting an error message 'Unknown Error'...
By definition, working capital is the measure a company’s efficiency and its financial health from a short-term perspective. With the implementation of GST in India on July 1, 2017, the unorganized sector has to pay GST at various levels in order to…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question