How To Trigger Selectize Input To Make Options Shown Initially
I'm using selectize, and I want to show a few options without clicking selectize input. So I use $('.selectize-input').click() but it doesn't work. How to show a few options withou
Solution 1:
Assuming that you bind selectize plugin something like $('.selectize-input').selectize(options)
, you should be able to use API's open method like this:
$('.selectize-input')[0].open();
Post a Comment for "How To Trigger Selectize Input To Make Options Shown Initially"