optionIndex

index of the option with specified ID

number optionIndex(id ID);
IDidID of the needed option
numberindex of the option

Example

$$("segmented1").optionIndex(1);

Details

Since options are stored in the array, option indexes are numbered staring from 0.

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.