jQuery AutoComplete Trigger Change Event

后端 未结 13 1017
陌清茗
陌清茗 2020-11-27 15:50

How do you trigger jQuery UI\'s AutoComplete change event handler programmatically?

Hookup

$(\"#CompanyList\").autocomplete({ 
    s         


        
相关标签:
13条回答
  • 2020-11-27 16:49
    $('#search').autocomplete( { source: items } );
    $('#search:focus').autocomplete('search', $('#search').val() );
    

    This seems to be the only one that worked for me.

    0 讨论(0)
提交回复
热议问题