This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

remove

Method of dom/HTMLElementdom/HTMLElement

Syntax

var object = object.remove(index);

Parameters

index

Data-type
any

Integer that specifies the zero-based index of the element to remove from the collection.

Return Value

Returns an object of type DOM NodeDOM Node

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Syntax

Standards information

Attributions