Display jquery ui auto-complete list on focus event

前端 未结 9 740
猫巷女王i
猫巷女王i 2020-12-01 00:26

here is my code, anything wrong with it ? it doesn\'t seem to display list on focus, i still have to press a key before it displays list



        
9条回答
  •  暖寄归人
    2020-12-01 01:05

    With more recent versions you might need to change autocomplete to uiAutocomplete

    $(this).data("uiAutocomplete").search($(this).val());
    

提交回复
热议问题