Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HOW to get 2nd dropdown box according to selected value of 1st dropdown box. Example: there are two dropdown box first contain countries(india, china) and 2nd drop down contain relatives states(delhi, up, mp). Now if i select india then only relatives states means delhi mp up will show.or if i select china then only relatives states will show only. please tell how can i do this. thanku
Posted
Comments
TrushnaK 5-Aug-13 5:37am    
You can achieve this by using javascript arrays. if it seems big in size but that is not from code behind. you can call this on onselectedIndex_changed() of first dropdown.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900