-1

The select plugin I am using is David Stutz Bootstrap Multiselect

I am loading the select field through ajax/jquery and it works great but I am struggling to get the select field to initiate the dropdown event on load.

Is this possible to do with this plugin?

Robert
  • 907
  • 4
  • 13
  • 32
  • Please add your code to the question. Then it will be easier for others to think about your problem and your chances of a helpful answer will increase. – Gleb Kemarsky Mar 31 '21 at 08:56

1 Answers1

0

After a little playing about you can do something like this:

$('#namehere').multiselect({
        onInitialized: function(select, container) {
            $(container).addClass('open');
        }
});
Robert
  • 907
  • 4
  • 13
  • 32