Click here to Skip to main content
16,012,223 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi i have 2 html.dropdown list where one bind to xml file and show part
and other dropdown show cites of this part .

now how when change part (change value of first dropdownlist)
in other dropdownlist show cites of this part?
Posted

1 solution

Google for XMLHttpRequest.

Sounds like you want client side javascript method to populate cities based on country and XMLHttpRequest would help.

UPDATE:
Have a look at these for XMLHttpRequest:
XMLHttpRequest Object[^]
XMLHTTPRequest with Sample[^]
Using the XML HTTP Request object[^]
Client Side Validation Using the XMLHTTPRequest Object[^]
 
Share this answer
 
v2

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