jQuery UI Autocomplete Formatting for Multiple Elements

前端 未结 3 498
渐次进展
渐次进展 2021-01-06 10:23

I have the jQuery UI Autocomplete setup to my liking and working perfectly, but there is one fatal flaw. In my autocomplete I use a custom display like this example. I hav

3条回答
  •  别那么骄傲
    2021-01-06 10:58

    The only way I can make this work is by changing my code from:

    addautocomplete($('.tagEntry'));
    

    To:

    $('.tagEntry').each(function() {
         addautocomplete(this);
    });
    

提交回复
热议问题