jQuery Autocomplete 插件很多,jQuery UI Autocomplete, 以及 twitter 的 typeahead 都是很著名的插件。但是支持 Multiple Select 的就很少了。jQuery UI Autocomplete 虽然支持多选,但是功能很简陋。(https://jqueryui.com/autocomplete/#multiple)
那么有没有一款支持 Multiple Select 而且功能丰富,样式好看的 Autocomplete 插件呢?
当然有啦,Magic Search 就是这样一款多功能的 Autocomplete 插件。下面是 jqueryscript.net 网站的介绍。
magicsearch is a robust, flexible, AJAX enabled jQuery plugin which allows the visitor to select single or multiple items from a predefined dropdown list when typing something into an input field. Similar to the autocomplete, typeahead and tags input plugins.
喜欢的可以去 Github 点赞,收藏,投硬币哦。
参考:
https://jqueryui.com/autocomplete/
https://github.com/twitter/typeahead.js
https://github.com/selectize/selectize.js
http://www.jqueryscript.net/form/Dynamic-Autocomplete-Multi-select-Plugin-With-jQuery-magicsearch.html
https://github.com/dingyi1993/jquery-magicsearch
http://www.choujindeputao.com/magicsearch/
2,089 total views, 2 views today