In my
jsp page i have two drop down list.
First drop down list has values X and Y.
Second drop down list values depends on the value of first drop down list.
If is select X in the first drop down list then second drop down list should have values 1 and 2.
If is select Y in the first drop down list then second drop down list should have values 3 and 4.
I need to do this validation in javascript that is when i click the second drop down list it should go to javascript and populate appropriate values in my second drop down list.
Can anyone please provide an approah to achieve this. Code samples will be most appreciated.
Thanks,
Ravi
[ December 29, 2005: Message edited by: Bear Bibeault ]