Export (0) Print
Expand All

2.1.2.7 replaceNode

replaceNode

The replaceNode method replaces the object with another element. When a node is replaced, all values that are associated with the replaced object are removed. The replaceNode method is accessible at run time. If elements are removed at run time before the closing tag is parsed, areas of the document might not render.

Parameters

oNewNode

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

Return Value

Returns a reference to the removed object.

Show:
© 2014 Microsoft