How to get Autocomplete to auto-select the first item
Seems a little silly to me, but my customer is insisting that I get the jQuery Autocomplete widget to behave the same way as the YUI widget:
http://developer.yahoo.com/yui/examples/autocomplete/ac_basic_array.html
...specifically, on that YUI demo, if you type 'f', only Florida is returned, and if you hit tab, 'Florida' is selected.
On the jQuery Autocomplete widget however (http://jqueryui.com/demos/autocomplete/), if you type, say, '+', and only 'c++' is returned, if you hit tab, the input field is left with '+'.
How can I get it to, on tab, go ahead and select and populate the input field with 'c++'?
Thanks!