Node Object
The isSameNode() method returns true if a node is the same node as the given one, otherwise it returns false.
| Parameter | Description |
|---|---|
| node | Required. The node to check |
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and checks if two nodes are the same node:
Output:
Node Object
Your message has been sent to W3Schools.