I need to have 3 drop lists written in JavaScript.
One is the name of the country, second is the name of the state
and third is the name of the city. I would like to search my database
for customers. If somebody could help me I will be gratefull.
Possibilities of searching :
1. Search all customers in the city (choosing only from the third list)
2. Search all customers in the state (choosing only from the second list)
3. Search all customers in the country (choosing only from the first list)
4. Search all customers in the country and city (choosing only from
first and the third list)
5. Search all customers in the country and state (choosing only from
first and the second list)
6. Search all customers in the state and city (choosing only from second
and the third list)
7. Search all customers in the country and state and city (choosing from
first and the second and the third list)
The posibilities 4 to 7 are dependent. It means that I can not choose
Canada and New York
or California and Boston.