NinjaTurtle
07-30-2002, 02:41 AM
dear,
i'm using ASP try to generate a member registration form, let user enter their name, sex, address, country , state... all the record are from Database.
what problem that i faced is, i want the "State" drop down list changed when user choose different "Country", and when "Postal Code" will Changed when user choose different "State". Can do it without refresh the page? and there are so many countries in the world, if i retrieve all the record of state that belongs to the country it it will be long downloading time??? how to solve them... like hotmail they will refresh the page... but i hope i can do is without refresh the page and not too slow 4 the loading time...
here is the HTML Code:
<select name="select" size="1">
<option selected>Choose Country</option>
</select>
</p>
<p>
<select name="select2">
<option selected>Choose State based on your selected Country</option>
</select>
</p>
<p>
<select name="select3">
<option selected>Choose Post Code based on your selected State</option>
</select>
i'm using ASP try to generate a member registration form, let user enter their name, sex, address, country , state... all the record are from Database.
what problem that i faced is, i want the "State" drop down list changed when user choose different "Country", and when "Postal Code" will Changed when user choose different "State". Can do it without refresh the page? and there are so many countries in the world, if i retrieve all the record of state that belongs to the country it it will be long downloading time??? how to solve them... like hotmail they will refresh the page... but i hope i can do is without refresh the page and not too slow 4 the loading time...
here is the HTML Code:
<select name="select" size="1">
<option selected>Choose Country</option>
</select>
</p>
<p>
<select name="select2">
<option selected>Choose State based on your selected Country</option>
</select>
</p>
<p>
<select name="select3">
<option selected>Choose Post Code based on your selected State</option>
</select>