Solved

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

Posted on 2006-10-22
3
234 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

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.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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 …

777 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