Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
splitOdd10 challenge 5 115
silent install of security banner via msiexec command 4 95
c++ reading data from file into two dimensional array 3 117
Base1 Encode/Decode 3 81
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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 …

808 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