Welcome to WebmasterWorld Guest from 54.145.167.92

Forum Moderators: open

Message Too Old, No Replies

Auto Fill Search Field

   
2:26 am on Apr 19, 2009 (gmt 0)

10+ Year Member



I have a search box on my web site, also have 1000's of items listed in the database. I have seen a few web sites that can auto fill the search field with suggestions as you type in your search term. I am thinking about implementing something like this and just wondered if anyone can point me in the right direction ie articles, tutorials, tips, info etc.

Does anyone have experience implementing this?

6:16 am on Apr 19, 2009 (gmt 0)

5+ Year Member



Yes, it's pretty simple, but the user has to have JavaScript enabled in the browser (which isn't really a detriment, since the entire idea is to give users that do use JS a better user interface). You don't say what database or server-side language you use, but it can be done with any, I would think. I did it with PHP & MySQL.

Check out some of these search results for "ajax autosuggest [google.com]".

If you need additional help, let me know.