Check if two list items in two different list are equal:
The result will be:
The isEqualNode() method checks if two nodes are equal.
Two nodes are equal if all the following conditions are true:
Tip: Use the isSameNode() method to determine if two nodes are the same node.
![]()
The isEqualNode() method is supported in all major browsers.
Note: Internet Explorer 8 and earlier does not support this method.
| Parameter | Type | Description |
|---|---|---|
| node | Node object | Required. The node you want to compare the specified node with |
| Type | Description |
|---|---|
| Boolean | true if the two nodes are equal, otherwise false |
| DOM Version | Core Level 3 |
|---|
Node Object
Your message has been sent to W3Schools.