Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using YubiKey with REST API application 2 106
SPLUNK REST  API call to Splunk to create and index? 2 100
VB 6.0 printer how to align 6 57
wordappend challenge 8 143
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
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 …

919 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