i have three list boxes name as state,District, and college. All list boxes contains a value as “All”. if i select all in state list box the other list boxes district and college should change as “All”. How to make it? i have done changes for two list boxes. i couldn’t make for the third one.
ex : 1. State -
a) xxxxxxx
b) yyyyyyy
c) zzzzzzz
d) All
2. District -
a) aaaaaaa
b) bbbbbbb
c) All
3. College -
a) aaaaaaa
b) All
see there, if i click “All” in a state list box the District and College Should come as all.
before that i have done if i click “All” in district list box the college sholud change as “All” . How to write code in onChange??
Thanks in advance.
In jQuery you could do something like this:
See http://jsfiddle.net/CDMWK/3/