How to filter your jquery autocomplete data while typing

前端 未结 4 1729
清酒与你
清酒与你 2020-12-16 07:19

So far I have the following

var aCleanData = [\'aaa\',\'aab\',\'faa\',\'fff\',\'ffb\',\'fgh\',\'mmm\',\'maa\'];

$(\'#my-input\').autocomplete({
    source:a         


        
4条回答
  •  一生所求
    2020-12-16 07:57

    I think you use the jQuery UI - Autocomplete. The one searching type is not the same way that you want to do. But this one is may be cover for your need.

提交回复
热议问题