select2中文选项经过拼音或者首字母快速定位选项

使用SELECT2的时候,想经过拼音或者首字母检索下拉的选项,可是又没有经过AJAX技术等去实现 这时候能够试试用这种伪方法〜 这种方法的好处就是快,方便使用html 默认选择2如图:ide 代码:<option>中的值是由后台拼接生成测试 [html]   查看纯 文本   < div >   < select name = “test” id = “test” >         < opti
相关文章
相关标签/搜索