Replaces the child node oldChild with newChild node.

Public Function ReplaceChild( _
   ByVal newChild As Node, _
   ByVal oldChild As Node _
) As Node
public function ReplaceChild(
   newChild : Node,
   oldChild : Node
) : Node;


The new node to put in the list.
The node being replaced in the list.

Return Value

The node replaced.

See Also

Node Object | Node Members | DOM Namespace