Bootstrap Multiselect is a JQuery based plugin to provide an intuitive user interface for using select inputs with the multiple attribute present. Instead of a select a bootstrap button will be shown as dropdown menu containing the single options as checkboxes.
Bootstrap Multiselect is a JQuery based plugin to provide an intuitive user interface for using select inputs with the multiple attribute present. Instead of a select a bootstrap button will be shown as dropdown menu containing the single options as checkboxes.
</p>
</p>
<p>
Please have a look at the <ahref="https://github.com/davidstutz/bootstrap-multiselect/blob/master/README.md">Contribution Guidelines</a> and the <ahref="https://github.com/davidstutz/bootstrap-multiselect/issues">Issue Tracker</a>.
</p>
</div>
</div>
</div>
</div>
...
@@ -66,11 +62,15 @@
...
@@ -66,11 +62,15 @@
event.stopPropagation();
event.stopPropagation();
});
});
</script>
</script>
<pclass="alert alert-info">
<pclass="alert alert-info">
The demonstration page for Bootstrap 2.3.x was removed. Nevertheless, this page should be working with Bootstrap 2.3.x as well except for some methods which are marked accordingly.
The demonstration page for Bootstrap 2.3.x was removed. Nevertheless, this page should be working with Bootstrap 2.3.x as well except for some methods which are marked accordingly.
</p>
</p>
<pclass="alert alert-warning">
Please have a look at the <ahref="https://github.com/davidstutz/bootstrap-multiselect/blob/master/README.md">Contribution Guidelines</a> and the <ahref="https://github.com/davidstutz/bootstrap-multiselect/issues">Issue Tracker</a>.
Per default, this option is set to <code>false</code> and the generated checkboxes (or radio buttons) are not given any name. If not set to <code>false</code>, this option defines the name of all checkboxes (or radio buttons).
Used to change configuration after initializing the multiselect. This may be useful in combination with <code>.multiselect('rebuild')</code>.
Used to change configuration after initializing the multiselect. This may be useful in combination with <code>.multiselect('rebuild')</code>. See the <ahref="#further-examples">Further Examples</a> section for an example.
Have a look at the <ahref="#further-examples">Further Examples</a> section (in addition, issue <atarget="_blank"href="https://github.com/davidstutz/bootstrap-multiselect/issues/360">360</a> discussed this).
Have a look at the <ahref="#further-examples">Further Examples</a> section (in addition, issue <atarget="_blank"href="https://github.com/davidstutz/bootstrap-multiselect/issues/360">360</a> discussed this).
</p>
</p>
<p>
<b>Using multiple <code>select</code>'s in single selection mode with <code>option</code>'s sharing values across the different <code>select</code>'s.</b>
</p>
<p>
This issue is discussed in detail here: <ahref="https://github.com/davidstutz/bootstrap-multiselect/issues/362">#362</a>. A simple solution is to use different option values for the option <code>checkboxName</code>:
</p>
<preclass="prettyprint linenums">
$('.multiselect').multiselect({
checkboxName: _.uniqueId('multiselect_')
});
</pre>
<p>
where <code>_.uniqueId('multiselect_')</code> should be replaced with a random generator. Alternatively, a unique value for <code>checkboxName</code> can be used for each multiselect.