Get started with multiple-select CDN

MIT licensed

Multiple-Select: library for choosing multiple options in a single select element.

Tags:
  • multiple.select
  • select.list
  • multiple.choose
  • checkbox

Stable version

Copied!

How to start using multiple-select CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with multiple-select CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0-alpha1/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/multipleSelect.min.css">
</head>
<body>
    <div class="container mt-5">
        <label for="exampleSelectAll">Select multiple options:</label>
        <select multiple id="exampleSelectAll" class="form-select mb-3">
            <option value="option1">Option 1</option>
            <option value="option2">Option 2</option>
            <option value="option3">Option 3</option>
            <option value="option4">Option 4</option>
            <option value="option5">Option 5</option>
        </select>

        <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/multipleSelect.min.js"></script>
        <script>
            $(document).ready(function() {
                $('#exampleSelectAll').multipleSelect();
            });
        </script>
    </div>
</body>
</html>

All versions