dropdown list
-
hi, I have 2 dropdownlists-one for the selecting country and another for states.When I select a country from the first dropdownlist,the second dropdownlist should show the corresponding states to be selected.I want to do this without postback to the server.How can I do this?Should I use javascript and xml?Please,explain in detail with source code. Regards, Bill
-
hi, I have 2 dropdownlists-one for the selecting country and another for states.When I select a country from the first dropdownlist,the second dropdownlist should show the corresponding states to be selected.I want to do this without postback to the server.How can I do this?Should I use javascript and xml?Please,explain in detail with source code. Regards, Bill
hi dear. give database connections properly. when select the country then all fields in state will be selected. take different tables for states. thank you
j somasekhar
-
hi, I have 2 dropdownlists-one for the selecting country and another for states.When I select a country from the first dropdownlist,the second dropdownlist should show the corresponding states to be selected.I want to do this without postback to the server.How can I do this?Should I use javascript and xml?Please,explain in detail with source code. Regards, Bill
-
hi, I have 2 dropdownlists-one for the selecting country and another for states.When I select a country from the first dropdownlist,the second dropdownlist should show the corresponding states to be selected.I want to do this without postback to the server.How can I do this?Should I use javascript and xml?Please,explain in detail with source code. Regards, Bill
store two tables data in some variables when page is loading. then use javascript to change items in second dropdownlist. here are steps: 1. store country and state data in two hidden fields, or two variables in JavaScript. 2. write function to change items in second dropdownlist. ... Changing Select element content on the fly [^]
Glad to discuss with you and best wishes.