🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Selectify is a simple jQuery plugin that converts standard select options into checkable inline labels for easier selecting.

Select

Documentation

jquery.selectify

A javascript widget for simple multi select when dealing with short lists. It uses standard HTML select boxes and jquery to add a more intuitive and easily cusomizable interface.

Rational

I love Chosen for intuitive multi select of long lists such as countries but it doesn't seem like the right choice for multi select from a short list. I still wanted a select box because I wanted the same behaviour as a select box but I wanted a more intuitive UI.

Details

This is a branch of jquery.tabselect with a couple of extra features and a bit of cleaning up so my HTML markup can be exactly as a standard select box and the js widget does the rest.

It works for multi select...

Multi select

...and for single select...

Single select

...and the styling is easily customizable via css

Code Example

To get started just download jquery.selectify.js and selectify.css and include them in your html page. Then simply add some shine to those select boxes with something like this...

HTML

  <select class="selectify" id="languages" multiple="multiple" name="languages">     <option value="ruby">Ruby</option>     <option value="javascript">Javascript</option>     <option value="swift">Swift</option>     <option value="java">Java</option>     <option value="php">PHP</option>   </select>

Javascript

  $(document).ready(function(){     $(".selectify").selectify();   })

Attribution

Thank you to Fredi Bach for the original work and thank you to Working Planet Ltd for sponsoring the development of the selectify widget.


You May Also Like