/    Sign up×
Community /Pin to ProfileBookmark

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.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliOct 01.2003 — a bit demanding , aren't we?
×

Success!

Help @Darek spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...