Questions tagged [bootstrap-multiselect]

Bootstrap-Multiselect refers to David Stutz's jQuery-based plugin that provides an intuitive user interface for using select inputs with the multiple attribute present.

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.

This tag is for questions based off the library bootstrap-multiselect (GitHub).

There is a demo page: Bootstrap Multiselect

There is a sample skeleton in jsFiddle.

CDN location

Stack Snippet Starter Pack

$(function() {
    $('.multiselect').multiselect();
});
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.css" rel="stylesheet"/>
<link href="http://davidstutz.github.io/bootstrap-multiselect/dist/css/bootstrap-multiselect.css"/>

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.js"></script>
<script src="http://davidstutz.github.io/bootstrap-multiselect/dist/js/bootstrap-multiselect.js"></script>

<select class="multiselect" multiple="multiple">
    <option value="cheese">    Cheese     </option>
    <option value="tomatoes">  Tomatoes   </option>
    <option value="mozarella"> Mozzarella </option>
    <option value="mushrooms"> Mushrooms  </option>
    <option value="pepperoni"> Pepperoni  </option>
    <option value="onions">    Onions     </option>
</select>
395 questions
-1
votes
1 answer

Multiselect down arrow selecting value but checkbox is not selected

I'm Using bootstrap Multiselect , i'm faceing issue when user navigate using down arrow(keyboard) in options in multiselect it is selecting options without selecting checbox here is my code $(function () { …
-1
votes
1 answer

Issue with multiple bootstrap-multiselect on page

On Page I have 3 multiple-select-boxes. Only for 3rd one I have additional logic (custom onchange event). So first 2 I just initialize with line of code : $('.multiselect').multiselect(); But when I've tried to add custom logic for 3rd select - it…
demo
  • 6,038
  • 19
  • 75
  • 149
-1
votes
1 answer

bootstrap-multiselect add css to parent of selected checkbox

I want to style checkboxes of bootstrap-multiselect plugin. Basically I want to add a class to label of selected checkbox. I can get the selected value this way but couldn't figure out how to target the checkbox.
-2
votes
4 answers

How to insert multi select drop down data value into sql table(in one field)

How to insert multi select drop down data value into sql table(in one field) Pls find below attached images from my project. pls assist me
Joyal George
  • 51
  • 1
  • 5
-2
votes
1 answer

Checkbox sits on top of the label instead of to the left of the label

I am using a bootstrap multiselect plugin in my project but for some reason the checkboxes and labels are not inline. please see pic below. This is what I am trying to achienve. Here is my HTML below.
Ayanda Khanyile
  • 235
  • 2
  • 14
1 2 3
26
27