Section 25.259. Select.remove( ): remove an option


25.259. Select.remove( ): remove an <option>

DOM Level 2 HTML

25.259.1. Synopsis

 void remove(long index); 

25.259.1.1. Arguments

index

The position within the options array of the <option> element to be removed.

25.259.2. Description

This method removes the <option> element at the specified position in the options array. If the specified index is less than zero or greater than or equal to the number of options, the remove( ) method ignores it and does nothing.

25.259.3. See Also

Option




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net