JavaScript Library That Converts A Select Box Into A Custom Dropdown


Advanced Dropdown Select is a JavaScript library that turns a normal select box into a custom dropdown list, with support for direct search, option images, multiple selections, and more.

custom select dropdown, custom select option css, select dropdown css style examples, how to display selected value of dropdownlist, html dropdown form

How to make use of it:

1. Include the stylesheet select.min.css and JavaScript select.min.js on the page.

<link rel="stylesheet" href="select.min.css" />
<script src="select.min.js"></script>

2. Add the following HTML data attributes to the <select> element and the library will do the rest.

  data-placeholder="Choose your region">
  <optgroup label="North West">
      <option value="VDA" data-img="">Aosta Valley / Vallée d'Aoste</option>
      <option value="LIG" data-img="">Liguria</option>
      <option value="LOM" data-img="">Lombardy</option>
      <option value="PIE" data-img="">Piedmont</option>
  <optgroup label="North East">
      <option value="BOL" data-img="">A.P. Bolzano / Bozen</option>
      <option value="TRE" data-img="">A.P. Trento</option>
      <option value="EMR" data-img="">Emilia-Romagna</option>
      <option value="FVG" data-img="">Friuli-Venezia Giulia</option>
      <option value="VEN" data-img="">Veneto</option>
  <optgroup label="Centre">
      <option value="LAZ" data-img="">Latium</option>
      <option value="MAR" data-img="">Marche</option>
      <option value="TOS" data-img="">Tuscany</option>
      <option value="UMB" data-img="">Umbria</option>
  <optgroup label="South">
      <option value="ABR" data-img="">Abruzzo</option>
      <option value="PUG" data-img="">Apulia</option>
      <option value="BAS" data-img="">Basilicata</option>
      <option value="CAL" data-img="">Calabria</option>
      <option value="CAM" data-img="">Campania</option>
      <option value="MOL" data-img="">Molise</option>
  <optgroup label="Islands">
      <option value="SAR" data-img="">Sardinia</option>
      <option value="SIC" data-img="">Sicily</option>

Advanced Custom Dropdown Select Plugin/Github, html dropdown input

See Demo And Download

Official Website(divscode): Click Here

This superior jQuery/javascript plugin is developed by divscode. For extra Advanced Usages, please go to the official website.