Searchable Select 加上远程调用数据功能

xiaoxiao2021-02-28  101

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 source https://github.com/jiuli/searchableSelectAjax

#Origin Source https://github.com/davidqhr/searchableSelect

转载请注明原文地址: https://www.6miu.com/read-38821.html

最新回复(0)