Document Node.isSameNode().

This commit is contained in:
Fred Drake 2001-02-03 01:20:01 +00:00
parent f891404e1a
commit 40e43bfaf7
1 changed files with 7 additions and 0 deletions

View File

@ -237,6 +237,13 @@ Returns true if the node has any attributes.
Returns true if the node has any child nodes.
\end{methoddesc}
\begin{methoddesc}[Node]{isSameNode}{other}
Returns true if \var{other} refers to the same node as this node.
This is especially useful for DOM implementations which use any sort
of proxy architecture (because more than one object can refer to the
same node).
\end{methoddesc}
\begin{methoddesc}[Node]{appendChild}{newChild}
Add a new child node to this node at the end of the list of children,
returning \var{newChild}.