removeremove*
*



Contents  *



Index  *Topic Contents
*Previous Topic: reload
*Next Topic: removeAttribute

remove

Description

Removes an element from the collection.

Syntax

object.remove(index)

ParameterDescription
index Number or string specifying the element to remove. If this parameter is a number, the method removes the element at the given position in the collection, where 0 is the first position, 1 the second, and so on. If this parameter is a string, the method removes all elements having a name or id property equal to the string.

Return Value

No return value.

Remarks

For the areas object, this method can only be used on the object after the page has been loaded. If the method is applied "inline," a run-time error will occur.

Applies To

areas, options

See Also

add


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.