Answers for ""bootstrap selectpicker""

2

bootstrap select

<div class="form-group">
    <label for="exampleSelect">Example select</label>
    <select class="form-control" id="exampleSelect">
      <option>1</option>
      <option>2</option>
      <option>3</option>
      <option>4</option>
      <option>5</option>
    </select>
</div>
Posted by: Guest on January-12-2022
1

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

Browse Popular Code Answers by Language