Answers for "bootstrap selectpicker dropdown"

11

bootstrap dropdown select

<div class="dropdown">
  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Dropdown
  </button>
  <div class="dropdown-menu" aria-labelledby="dropdownMenu2">
    <button class="dropdown-item" type="button">Action</button>
    <button class="dropdown-item" type="button">Another action</button>
    <button class="dropdown-item" type="button">Something else here</button>
  </div>
</div>
Posted by: Guest on May-28-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 dropdown"

Browse Popular Code Answers by Language