JavaScript autocomplete upon typing

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-03-20T15:48:12Z Indexed on 2010/03/20 15:51 UTC
Read the original article Hit count: 481

Right guys, all autocomplete plugins and functions that I've found, they only update upon keyup/down, etc. This is fine but the search only begins occurring once the user has stopped typing and if they are typing a phrase or word, the script is unable to instantly start suggesting, etc.

I know this'll be a very simple fix or suggestion for some of you guys, so any help would be greatly appreciated as to how I can convert it to be instantly as a key is pressed.

Thanks!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery