Select2Buttons 介绍
Select2Buttons是一个能将网页中的select选择框转换成一组按钮的插件。
主要功能特点:
- 转换select选择框为标签式按钮
- 支持js回发调用
- 支持disabled选项
- 支持将多个select设置为一组
- 支持取消默认选中
示例代码:
<select name="simple-select"> <option>One</option> <option>Two</option> <option>Three</option> </select> <script> $('select[name=simple-select]').select2Buttons(); </script>