Skip to content

getOptionIndex

jdubs edited this page Oct 23, 2016 · 1 revision

Table of Contents

Overview

This function returns the index of the SELECT list option whose value or text matches the given parameter, with priority givent to value. Returns -1 if no matching option is found. “Hidden” options are taken into account.

Signature

getOptionIndex(value)

Parameters

( value ) The option value or text to find

Example

spec['SelectList'].getOptionIndex('Testing');

Clone this wiki locally