jQuery plugin for threadless.com style selects

o_sam_o

Sam Cavenagh

2 years ago · 1,954 views Ranger Pick
<select name="simple-select">
  <option>One</option>
  <option>Two</option>
  <option>Three</option>
</select>

<script>
   $('select[name=simple-select]').select2Buttons();
</script>
Raw

select to buttons example

jQuery plugin for converting a standard html select into threadless.com style buttons. This plugin was inspired by a question from @greatpotato a few weeks ago.

Features

  • Converts normal HTML selects into button like elements (a tags)
  • Supports JS change callbacks
  • Supports disabled options
  • Supports disabled selects
  • Supports OptGroups
  • Allows no default selection (like threadless)

Demo Here

Code and Documentation Here

Tagged: html jquery select
Comments are only visible to Forrst members. Log in or Request an invite.
3 new notifications