inputEx - SelectField Usage

Basic SelectField creation

Use the following code to create a basic inputEx SelectField.

Differentiate choices' labels and values

Use the following code to create choices with labels different from values

Updated event

How to listen to the updated event :

addChoice

Add choices dynamically

removeChoice

Remove choices dynamically

Hide / Show / Disable / Enable choice

Hide, show, disable or enable an choice in the selector, without removing it totally, and keeping the original choice's order

Note : disableChoice and enableChoice methods have no effect with IE < 8 because it did not support disabled="disabled" attribute.