“bootstrap 4 selectPicker” Réponses codées

bootstrap 4 selectPicker

<select class="selectpicker">
  <option>Mustard</option>
  <option>Ketchup</option>
  <option>Barbecue</option>
</select>
Angry Anteater

bootstrap 4 selectPicker

$(function () {
    $('select').selectpicker();
});
Angry Anteater

bootstrap 4 selectPicker

// To style all selects
$('select').selectpicker();
Angry Anteater

bootstrap 4 selectPicker

// To style only selects with the my-select class
$('.my-select').selectpicker();
Angry Anteater

bootstrap 4 selectPicker

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap-select.min.css">

<!-- Latest compiled and minified JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap-select.min.js"></script>

<!-- (Optional) Latest compiled and minified JavaScript translation files -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/i18n/defaults-*.min.js"></script>
Angry Anteater

Réponses similaires à “bootstrap 4 selectPicker”

Questions similaires à “bootstrap 4 selectPicker”

Plus de réponses similaires à “bootstrap 4 selectPicker” dans HTML

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code