How can I simulate Google-Suggest

L

laredotornado

Many have seen Google Suggest, in which you begin typing in your search
term, and the system attempts to auto-complete by supplying a list of
phrases beneath the text field.

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

My question is, in Javascript, if I already have a predefined list of
terms, how can I accomplish this functionality beneath my text field?
Any example code or sites are greatly appreciated.

Thanks, - Dave
 
T

TheBagbournes

Many have seen Google Suggest, in which you begin typing in your search
term, and the system attempts to auto-complete by supplying a list of
phrases beneath the text field.

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

My question is, in Javascript, if I already have a predefined list of
terms, how can I accomplish this functionality beneath my text field?
Any example code or sites are greatly appreciated.

Yahoo's UI kit has an AutoComplete widget. The documentation of the whole kit is excellent.

http://developer.yahoo.com/yui/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top