mardi 8 janvier 2019

Show all options of multiselect jquery

Is it possible to show all the options of a multiselect jQuery, like a list with checkbox?

<select id="chkveg" 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>

$('#chkveg').multiselect();          




Aucun commentaire:

Enregistrer un commentaire