YUI AutoComplete events, how to?
I'm using YUI 3.3.0 and the AutoComplete widget. I'm entirely new to YUI. Here's the thing. I have AutoComplete working. How do I catch an event fired by AutoComplete? The documentation states that a select event is fired when a user selects an item from the list. I want to attach a function to that event. How do I do that? Here's an example for the plugin approach, http://tivac.com/yui3/so/skladjfyhafjk_autocomplete.htm Simply pass your event handlers as part of the config when you first plug autocomplete into the input. Y.one("#ac").plug(Y.Plugin.AutoComplete, { resultHighlighter: