Get started with bootstrap-multiselect CDN
Apache-2.0 licensed
Bootstrap-multiselect: plugin adds multiple selection to Bootstrap select component.
Tags:- js
- css
- less
- bootstrap
- jquery
- multiselect
Stable version
Copied!
How to start using bootstrap-multiselect CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with bootstrap-multiselect CDN - cdnhub.io</title>
<!-- Add Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Add Bootstrap Multiselect CSS -->
<link href="https://cdn.cdnhub.io/bootstrap-multiselect/1.1.2/css/bootstrap-multiselect.min.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container mt-5">
<h1 class="text-center mb-5">Bootstrap Multiselect Example</h1>
<div class="row">
<div class="col-md-6 offset-md-3">
<label for="exampleSelectAll" class="form-label">Select all that apply</label>
<select multiple id="exampleSelectAll" class="form-select">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
<option value="4">Option 4</option>
<option value="5">Option 5</option>
</select>
</div>
</div>
<!-- Add Bootstrap Multiselect JS -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>
<script src="https://cdn.cdnhub.io/bootstrap-multiselect/1.1.2/js/bootstrap-multiselect.min.js"></script>
<script>
$(document).ready(function() {
'use strict';
$('#exampleSelectAll').multiselect();
});
</script>
</div>
</body>
</html>
Copied!
Copied!
Copied!
Copied!