Hi
Let's say I have one combo that has all the states in a country and I have another combo that has all the cities within the selected state.
I want to populate the cities combo when the user selects a state.
Is it possible to do this without reloading the whole page?
Heine Ferreira
Comments
:
: Let's say I have one combo that has all the states in a country and I have another combo that has all the cities within the selected state.
: I want to populate the cities combo when the user selects a state.
: Is it possible to do this without reloading the whole page?
:
: Heine Ferreira
:
:
YES use JavaScript
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
New Document
Select Region
Asia
Africa
Australia
Europe
Middle East
Latin America
North America
South America
<--------------------</option>
: :
: : Let's say I have one combo that has all the states in a country and I have another combo that has all the cities within the selected state.
: : I want to populate the cities combo when the user selects a state.
: : Is it possible to do this without reloading the whole page?
: :
: : Heine Ferreira
: :
: :
: YES use JavaScript
:
: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
:
:
:
:
:
:
:
:
: New Document
:
:
:
:
:
:
:
:
:
:
:
: Select Region
: Asia
: Africa
: Australia
: Europe
: Middle East
: Latin America
: North America
: South America
:
:
: <--------------------</option>
:
:
:
:
:
:
:
:
:
:
Thank you for your reply.
What if I wanted to read the cities from a SQL Server table rather than hard coding them?
: : :
: : : Let's say I have one combo that has all the states in a country and I have another combo that has all the cities within the selected state.
: : : I want to populate the cities combo when the user selects a state.
: : : Is it possible to do this without reloading the whole page?
: : :
: : : Heine Ferreira
: : :
: : :
: : YES use JavaScript
: :
: : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
: :
: :
: :
: :
: :
: :
: :
: :
: : New Document
: :
: :
: :
: :
: :
: :
: :
: :
: :
: :
: :
: : Select Region
: : Asia
: : Africa
: : Australia
: : Europe
: : Middle East
: : Latin America
: : North America
: : South America
: :
: :
: : <--------------------</option>
: :
: :
: :
: :
: :
: :
: :
: :
: :
: :
: Thank you for your reply.
: What if I wanted to read the cities from a SQL Server table rather than hard coding them?
:
A GOOD "HOW TO" AT
http://www.programmersresource.com/articles/multi_dropdown.asp
/haxme