replaceChild (DOMNode - JavaScript)

Replaces a child node.

Defined in

DOMNode

Syntax

replaceChild(newChild:DOMNode, refChild:DOMNode) : DOMNode