HTML markup
1 2 3 4 5 |
<select placeholder="Select Category"> <option value="Animals">Animals</option> <option value="Buldings">Buldings</option> <option value="Flowers">Flovers</option> </select> |
JavaScript
1 2 3 4 5 6 7 8 |
/* Selectize */ if ($().selectize) { $('.ct-select').each(function() { $(this).selectize({ create: true }); }); } |
Screenshot
Selectize Documentation can be found here Files are bundled inside confetti.min.js & style.css