Jquery 加载时自动下拉davidstutz引导multiselect
我使用的select插件是 我通过ajax/jquery加载select字段,效果很好,但我很难让select字段在加载时启动下拉事件Jquery 加载时自动下拉davidstutz引导multiselect,jquery,multi-select,bootstrap-multiselect,Jquery,Multi Select,Bootstrap Multiselect,我使用的select插件是 我通过ajax/jquery加载select字段,效果很好,但我很难让select字段在加载时启动下拉事件 这个插件可以做到这一点吗?在玩了一会儿之后,您可以做如下操作: $('#namehere').multiselect({ onInitialized: function(select, container) { $(container).addClass('open'); } }); 请将您的代码添加到问
这个插件可以做到这一点吗?在玩了一会儿之后,您可以做如下操作:
$('#namehere').multiselect({
onInitialized: function(select, container) {
$(container).addClass('open');
}
});
请将您的代码添加到问题中。这样别人会更容易思考你的问题,你得到有用答案的机会也会增加。