isEqualNode method
Determines if two nodes are equal.
![]() ![]() |
Syntax
object.isEqualNode(otherNode, isEqual)Parameters
- otherNode [in]
-
Type: IHTMLDOMNode3
The node to be compared to the node that is executing the method.
- isEqual [out, retval]
-
C++ A pointer to a Boolean that receives one of the following values: JavaScript Boolean. Returns one of the following values:
Return value
Type: Boolean
A pointer to a Boolean that receives one of the following values:Boolean. Returns one of the following values:trueThe node specified in the otherNode parameter is equal to the current node.
falseThe nodes are not equal.
Standards information
Remarks
This method determines whether or not two nodes are equal. Nodes are considered equal when the values of the following attributes are equal:
Nodes can be equal without being the same. Use isSameNode to determine if two nodes are the same.
See also
- a
- applet
- attribute
- audio
- button
- div
- document
- documentType
- frame
- iframe
- img
- input type=button
- input type=checkbox
- input type=email
- input type=file
- input type=hidden
- input type=image
- input type=number
- input type=password
- input type=radio
- input type=range
- input type=reset
- input type=search
- input type=submit
- input type=tel
- input type=text
- input type=url
- label
- legend
- marquee
- media
- object
- optGroup
- option
- select
- source
- span
- table
- textArea
- TextNode
- video
- isSameNode
Show:

