Bootstrap Multiselect中文


    <!-- Include the plugin's CSS and JS: -->
    <script type="text/javascript" src="jsLib/bootstrap-multiselect.js"></script>
    <link rel="stylesheet" href="cssLib/bootstrap-multiselect.css" type="text/css"/>
View Code
<div class="form-group form-group-sm col-md-12">
                    <label>摄像头:</label>
                    <select class="form-control" id="camera-select" multiple="multiple">
                        <option value="0">摄像头20170922</option>
                        <option value="1">摄像头20170923</option>
                        <option value="2">摄像头20170924</option>
                    </select>
                </div>
View Code

js:

$('#camera-select').multiselect({
            nonSelectedText: '全部',//没有值的时候button显示值
            includeSelectAllOption: true,
            selectAllText: '全选',//全选的checkbox名称
            maxHeight: 200
        });
View Code

 

 

Bootstrap Multiselect中文api


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM