Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java Script for Zip Code Search

Status
Not open for further replies.

PattieDash

IS-IT--Management
Feb 20, 2001
1
US
Hi, I work for a not for profit agency, we have a web site which is coming along nicely. I have a need which I hope someone can help me with :)

We serve the central Maryland region and members can send a request for placement (membership)with our organization online. We would like them to enter their zip code and click go to allow a database of zip codes to search to see if their zip code matches one which is served in our area. Upon validation that their zip code matches the form would than pop up for them to continue and submit. If their zip code does not match that criteria than a pop up message would display telling them that we do not serve their zip code area and possibly a few alternative telephone numbers or web sites for them to search for further assistance.

Can anyone help me? lead me to the right place?

I'd be grateful!
Thanks,
Pattie
 
How many zip codes are we talking about? If the number is low then it may be feasible to use javascript with hard-coded or dynamically generated lists but I would really recommend against using javascript to query a database, that is why we have server side processes.

If the number is high then use your favorite server-side language, since you are here I will assume it is java.

If you really aren't prepared to do server-side programming than I suggest you post this question on the Javascript forum, you may get a better response there.
Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top