Adds the specified node to the end of the list of child nodes, of this node.

Public Function AppendChild( _
   ByVal newChild As Node _
) As Node
public function AppendChild(
   newChild : Node
) : Node;


The node to add. If it is a DocumentFragment, the entire contents of the document fragment are moved into the child list of this node.

Return Value

The node added.


If the newChild is already in the tree, it is first removed.

See Also

Node Object | Node Members | DOM Namespace