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

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

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

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

猜你喜欢

转载自www.cnblogs.com/janken/p/11511550.html