I’ve got a YUI AutoComplete control, works great. Except that I’d like it to expand the list of suggestions as soon as the user selects the input box. How do I make that happen?
Right now expansion doesn’t happen until the user hits a key in the box.
You can use the textboxFocusEvent to send a query of the contents of the input, which will open the results pane. I tried using expandContainer without success but wasn’t sure that would have worked anyways.
Working Example: http://tivac.com/yui2/autocomplete_jamesmoore.htm