Solved

Selecting one option in a dropdown should change the options in other dropdown accordingly.

Posted on 2006-10-22
3
231 Views
Last Modified: 2010-04-16
Hi experts,
               I designed a jsp which has a couple of dropdowns and the values for which comes from the database dynamically, the connection code is in a bean and the call to the bean is made from this jsp. my question is initially both the dropdowns have all the possible options from the database but when one of the options is selected from the dropdown the options for the other dropdown should change accordingly......

I guess I can use javascript(but do not have a clear idea) or any other way I could achieve this........ could someone give me a detailed plan .

Regards,
Harsha.
0
Comment
Question by:jdharsha
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
hpee earned 125 total points
ID: 17787078
0
 
LVL 3

Expert Comment

by:hpee
ID: 17828514
hi,jdharsha

nice to have helped you.....

but..... didnt the links solved your matter.....

I'm worried why you gave a grade B

hp
0
 

Author Comment

by:jdharsha
ID: 17839590
hpee,
         The links you have provided gives an idea, one difference i could say is the options are hard coded here where as in my case the options would come from DB.......
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

This is an explanation of a simple data model to help parse a JSON feed
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now