Auto Suggest

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Auto Suggest

Post by hawleyjr »

I have a customer search feature on my site and would like to incorporate an auto suggest feature such as the one found at Goggle’s Auto Suggest.

http://www.google.com/webhp?complete=1&hl=en

I'm only dealing with a couple thousand records and would like to have the auto type feature. So if a person was searching for Joe Smith and started typing Joe... All names starting in "JOE" would appear. If anyone has any suggestions or have came across a tutorial detailing how to do this please let me know.

Thanks.
zenabi
Forum Commoner
Posts: 84
Joined: Mon Sep 08, 2003 5:26 am
Location: UK

Post by zenabi »

This site should get you started:

http://www.webpasties.com/xmlHttpRequest/

It's not exactly what you need, but the basics are there.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

what happens when javascript is turned off? It would kill the whole functionality of it, you need to bear this in mind and provide an alternative solution as well
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

malcolmboston wrote:what happens when javascript is turned off? It would kill the whole functionality of it, you need to bear this in mind and provide an alternative solution as well
Very valid point. In this specific project it is for an intranet site. So anyone who has js turned off and complains about it not working gets me standing over them at their desk :)

Thanks All
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

can always put a <noscript> reminder to turn JS on for at least that server/page/whatever.. :)
Post Reply