i use bootstrap-multiselect (v0.9.8) with option
includeSelectAllOption: true
it is posible that select all to be checked by default when pag
With bootstrap-select V.1.12.4, the solution is simpler:
Example HTML:
1 2
Example javascript:
$(function() { $('#my-multi-select').selectpicker({ }); $("#my-multi-select").selectpicker('selectAll'); });