replaceChild method

Node replaceChild(
  1. Node node,
  2. Node child
)
inherited

The replaceChild() method of the Node interface replaces a child node within the given (parent) node.

Implementation

external Node replaceChild(
  Node node,
  Node child,
);