Custom Select for Bootstrap 3 - Live preview

Custom select is targetted with .my-custom-class and text-transform: uppercase is applied. Also originally select element has an attribute 'my-custom-attr', please inspect a generated select to see how it was preserved.

The filter enabled in the below example is case-insensitive, requires a minimum input of 2 characters in order to be triggered and will show all the options containing the input string in any part of them.

Click and choose a value different to a selected one to trigger change event

This value is pre-selected using selected="selected" attribute

Click 'Alert selected value' button to get an alert with selected value

Setting 'Lithium' value with Javascript for all 3 .simple_select10 elements

Click 'Enable/Disable' to toggle the state of a select

Click 'Add' to add an option to a dropdown at position 1.

Click 'Remove' to remove an option from position 3.

Options 1, 2, 3 are disabled on load

Click enable/disable to enable/disable option 1