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

[VBScript]
Public Function AppendChild( _
   ByVal newChild As Node _
) As Node
[JScript]
public function AppendChild(
   newChild : Node
) : Node;

Parameters

newChild
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.

Remarks

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

See Also

Node Object | Node Members | DOM Namespace