<select id="agent" name="agentid" class="selectpicker" data-live-search="true" multiple>
<option value="">none</option>
...<!--other options-->...
</select>
how can I offer a btn when I finish search and select all the option?
<select id="agent" name="agentid" class="selectpicker" data-live-search="true" multiple>
<option value="">none</option>
...<!--other options-->...
</select>
how can I offer a btn when I finish search and select all the option?
I solved it by myself!
I add a method called selectQuery to bootstrap-select.js
To trigger selectQuery, just add a btn and add click event