<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>
JasonLi
# my source https://github.com/jiuli/searchableSelectAjax
#Origin Source https://github.com/davidqhr/searchableSelect