DropKick.js Examples you can use.

FOUC Solution Comparision:

  • The 1st select is wrapped with '.dk_wrap' but WITHOUT dropkick applied.
  • The 2nd select starts wrapped with .dk_wrap' and then dropkick is APPLIED.
  • The 3rd select doen NOT starts wrapped, but dropkick is APPLIED.
  • Reload the page to see the FOUC (Flash of Unstyled Content) again.

Default Options

Custom 'change' callback

Creating custom themes

Label behaviour

Disabled <select>

Disabled <option>

With <optgroup>