Skip to content

removeOptionRangeAt

jdubs edited this page Oct 23, 2016 · 1 revision

Table of Contents

Overview

This function removes the SELECT list options within the given index range, inclusive.

Signature

removeOptionRangeAt(fromIndex[,])

Parameters

( fromIndex ) The zero-based index of the first option in the SELECT list to remove. ( toValue ) Optional. The zero-based index of the last option in the SELECT list to remove. If omitted, all options from fromIndex to the end of the list are removed.

Example

spec['SelectList'].removeOptionRangeAt(1, 5);

Clone this wiki locally