jquery ui autocomplete does't close options menu if there is no focus when ajax returns
- by Uri
I'm using jquery ui autocomplete widget with ajax, and on noticed the following problem.
Background: In order for the user to be able to focus on the autocomplete and get the options without typing anything, I use the focus event:
autoComp.focus(function() { $(this).autocomplete("search", "");}
However this produces the following effect: when…