YUI Autocomplete: search after pasting?

Posted by rassie on Stack Overflow See other posts from Stack Overflow or by rassie
Published on 2009-08-18T12:01:10Z Indexed on 2010/06/15 5:02 UTC
Read the original article Hit count: 243

I'm using an auto-complete widget from YUI to implement live search as in the examples. However, it works fine when search text is typed in, but fails to work when the text is pasted into the field. Which would be the proper way to initiate an autocompletion on paste? Haven't found anything for that in the documentation...

EDIT: Pasting is not Ctrl-V, it's usually "Paste" from the context-menu. YUI does react to a keypress, but doesn't if anything is pasted by the mouse.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about autocomplete