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

闻修筠
2023-12-01

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

 类似资料: