• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

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

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
jdharsha
Asked:
jdharsha
  • 2
1 Solution
 
hpeeCommented:
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
 
jdharshaAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now