Skip to content

removeOptions

jdubs edited this page Oct 23, 2016 · 1 revision

Table of Contents

Overview

This function finds the SELECT list options whose values or text match the given parameters and, if found, removes the options.

Signature

removeOptions(value[,])

Parameters

( value ) One or more of the following:

  • An individual value representing the text or value of an option.
  • An array, where each item represents the value or text of an option.

Example

spec['SelectList'].removeOptions('Testing1', 'Testing2');
spec['SelectList'].removeOptions(['Testing1', 'Testing2']);

Clone this wiki locally