Transform an HTML select into a bootstrap dropdown
the select is hidden and its value is updated on the fly
In this demo i use a select with classes in the options I want to be coloured in the bootstrap dropdown
You mays also use a data-color attribute instead, containing the colorcode : the set the "colors" option to "on"
You can préselect options in the select : they will show in the BS dropdown
Now add a multiple attribute to the select (this time without colors) :