R
ruds
hi,
I have a JSp form, when a user selects an option from a pull down
menu, I want to update the next select options based on the previously
selected option.
For E.G:
My first select options are: Color/Fruits
If user selects Color, then the next dropdown options would be:
RED,YELLOW,GREEN,BLUE
If user selects Fruits then the drop down should have:
APPLE,ORANGE,BANANA...
How should I do this?
I konw i need to use JavaScript but how?
I have a JSp form, when a user selects an option from a pull down
menu, I want to update the next select options based on the previously
selected option.
For E.G:
My first select options are: Color/Fruits
If user selects Color, then the next dropdown options would be:
RED,YELLOW,GREEN,BLUE
If user selects Fruits then the drop down should have:
APPLE,ORANGE,BANANA...
How should I do this?
I konw i need to use JavaScript but how?