By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,784 Members | 3,274 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,784 IT Pros & Developers. It's quick & easy.

Simulating "Auto Complete" with Javascript

P: n/a
Hi All,
I'm looking for a script which monitors each keystroke in an input text
field and compares it to the contents of an array of strings and displays
the first matching element as the user types.

In other words, something which works very much like the Windows
"Autocomplete" feature.

Has someone invented this wheel? Thanks.

Vern
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Vern wrote:
Hi All,
I'm looking for a script which monitors each keystroke in an input text
field and compares it to the contents of an array of strings and displays
the first matching element as the user types.

In other words, something which works very much like the Windows
"Autocomplete" feature.

Has someone invented this wheel? Thanks.
Vern


Matt Kruse has a nice example (among many others) here:

http://www.mattkruse.com/javascript/...ete/index.html

Jul 23 '05 #2

P: n/a
Thanks, Mscir! Just what I was looking for.

Vern

"mscir" <ms***@access4less.com.net.org.uk> wrote in message
news:10*************@corp.supernews.com...
Vern wrote:
Hi All,
I'm looking for a script which monitors each keystroke in an input text
field and compares it to the contents of an array of strings and displays the first matching element as the user types.

In other words, something which works very much like the Windows
"Autocomplete" feature.

Has someone invented this wheel? Thanks.
Vern


Matt Kruse has a nice example (among many others) here:

http://www.mattkruse.com/javascript/...ete/index.html

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.