>i use of bootsrap-select
当我参考引导选择时出现此错误
错误是:类型错误:this.$element.find(...([0] 未定义
刷新时: $('.selectpicker'(.selectpicker('refresh'(;
感谢
我修复了这个错误
我们为标签提供一个 id,并使用该 id 来引用它。
<select id="selectid" class="selectpicker">
<option>1</option>
<option>2</option>
</select>
现在进行刷新
$('#selectid').selectpicker('refresh');