468,321 Members | 1,681 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

Simulating "Auto Complete" with Javascript

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
2 1495
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
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.

Similar topics

1 post views Thread by PL | last post: by
22 posts views Thread by nospam_news | last post: by
2 posts views Thread by Piotr K | last post: by
1 post views Thread by howard w | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.