isEqualNode method

This topic has not yet been rated - Rate this topic

Determines if two nodes are equal.

Document Object Model (DOM) Level 3 Core Specification, Section 1.2

Syntax

object.isEqualNode(otherNode, isEqual)

Parameters

otherNode [in]

Type: IHTMLDOMNode3

The node to be compared to the node that is executing the method.

Return value

Type: Boolean

Boolean. Returns one of the following values:true

The node specified in the otherNode parameter is equal to the current node.

false

The 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
attribute
audio
button
div
document
documentType
iframe
img
input type=button
input type=checkbox
input type=file
input type=hidden
input type=image
input type=password
input type=radio
input type=reset
input type=submit
input type=text
label
legend
media
object
optGroup
option
select
source
span
table
textArea
TextNode
video
isSameNode

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.