homepage Welcome to WebmasterWorld Guest from 54.163.72.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Databases
Forum Library, Charter, Moderator: open

Databases Forum

    
Auto Fill Search Field
tongpo




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

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?

 

blang




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Databases
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved