2.4.1.2 replaceNode

replaceNode

The replaceNode method replaces the object with another element.

Parameters

oNewNode

An element that specifies the new element to replace the object.

Return Value

Returns a reference to the removed object.