使用select2做带搜索功能的下拉框基于jQuery

2024-11-21 17:32:18

1、创建文件,我给它命名aaa

使用select2做带搜索功能的下拉框基于jQuery

3、打开后写入代码

使用select2做带搜索功能的下拉框基于jQuery

5、创建select下拉框<select class="select singleSelect" style="width: 100%;" id="company_belong_sale" name="costomer[company]"> <option selected="selected"></option> <option value="啊啊">啊啊</option> <option value="版本">版本</option> </select>

使用select2做带搜索功能的下拉框基于jQuery
猜你喜欢