我使用bootsrap-select
当我引用Bootstrap-select时,我收到此错误
错误是:类型错误: this.$element.find(...)是未定义的
刷新时:$('.selectpicker').selectpicker('refresh');
感恩
发布于 2019-08-30 02:41:29
我修复了这个错误
我们给标签一个id,并使用这个id来引用它。
<select id="selectid" class="selectpicker">
<option>1</option>
<option>2</option>
</select>
现在进行刷新
$('#selectid').selectpicker('refresh');
https://stackoverflow.com/questions/57679831
复制相似问题