http://silviomoreto.github.io/bootstrap-select/
Usage:
--Create your <select> with the .selectpicker class.
--Enable Bootstrap-Select via JavaScript:$('.selectpicker').selectpicker();
--$('.selectpicker').selectpicker({
style: 'btn-info',
size: 4
});
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-style="".
-- container
-- countSelectedText
-- dropupAuto
-- header
-- hideDisabled
-- mobile
-- selectedTextFormat
-- size
-- showSubtext
-- showIcon
-- showContent
-- style
-- title
-- width
-- maxOptions