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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top