Select2
OverviewOfficial Website
Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options.
Javascript
<!--jquery cdn-->
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<!--select2 cdn-->
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
Note
This is Select2 page in wihch we have used jQuery with cnd link!
Initjs (Custom js)
<script src="assets/js/pages/select2.init.js"></script>
Examples
Title | HTML |
---|---|
Basic Select |
|
Multi Select |
|
Ajax Select |
|
Templating |
|
Selections Templating |
|
Disabling a Select2 Control |
|