Answers for "bootstrap selectpicker html"

2

bootstrap select input

<div class="form-group">
    <label for="exampleFormControlSelect1">Example select</label>
    <select class="form-control" id="exampleFormControlSelect1">
      <option>1</option>
      <option>2</option>
      <option>3</option>
      <option>4</option>
      <option>5</option>
    </select>
  </div>
  <div class="form-group">
    <label for="exampleFormControlSelect2">Example multiple select</label>
    <select multiple class="form-control" id="exampleFormControlSelect2">
      <option>1</option>
      <option>2</option>
      <option>3</option>
      <option>4</option>
      <option>5</option>
    </select>
  </div>
Posted by: Guest on August-13-2020
0

selectpicker dropdown in bootsttrap

<select class="selectpicker" required multiple>
  <optgroup label="Picnic">
    <option>Mustard</option>
    <option>Ketchup</option>
    <option>Relish</option>
  </optgroup>
  <optgroup label="Camping">
    <option>Tent</option>
    <option>Flashlight</option>
    <option>Toilet Paper</option>
  </optgroup>
</select>
Posted by: Guest on December-19-2020
0

select picker bootstrap

$('.ex-disable').click(function () {
  $('.disable-example').prop('disabled', true);
});

$('.ex-enable').click(function () {
  $('.disable-example').prop('disabled', false);
  $('.disable-example').selectpicker('refresh');
});
Posted by: Guest on April-13-2021

Code answers related to "bootstrap selectpicker html"

Browse Popular Code Answers by Language