jquery设置bootstrap-select的默认选中值

<select id="mSelect"></select>

$("#mSelect").val(["1","2"]);

$("#mSelect").selectpicker('refresh');

posted @ 2019-09-12 13:58  铭久  阅读(10974)  评论(0编辑  收藏  举报