Searchable Select
How to use
<select id="select_id">
</select>
You need script like this:
<script>
$(“#select_id”).searchableSelect({url:"https://github.com/jiuli/searchableSelectAjax/demo.json"});
#加上url参数,即可调用远程数据,后台代码对应写上search_name搜索字段
</script>
Modify By
JasonLi
# my sourcehttps://github.com/jiuli/searchableSelectAjax
#Origin Sourcehttps://github.com/davidqhr/searchableSelect
原文链接:https://www.f2er.com/ajax/161066.html