jQuery UI Autocomplete - menu disappears on hover

后端 未结 6 2123
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 16:18

I\'m trying to use jQuery UI Autocomplete to bring up a list of names of people in a MySQL Database. The basic function is working - when you type in two or more letters a l

6条回答
  •  一向
    一向 (楼主)
    2020-12-02 17:21

    I had similar problem with typeahead

    I used focus() and the problem was solved.

    Example:

    $(ele).typeahead({source: $scope.varMap['abc'], items: undefined});
    $(ele).focus();
    

提交回复
热议问题