Steven5007

导航

bootstrap-select 下拉多选组件

<div class="form-group">
       <label class="col-lg-2 col-sm-2 control-label">调整科目</label>
                    <div class="col-lg-8">
                          <select id="adjSubject"  class="form-control m-bot15 selectpicker" multiple="multiple" data-live-search="true"></select>
                </div>
    </div>

data-live-search="true" :显示搜索框

$('.selectpicker').selectpicker({
            'selectedText': 'cat'
        }); 

 

 

posted on 2018-10-09 14:50  Steven5007  阅读(333)  评论(0编辑  收藏  举报