isSameNode method

This topic has not yet been rated - Rate this topic

Determines if two node references refer to the same node.

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

Syntax

object.isSameNode(otherNode)

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:
Return valueDescription
true

The node specified in the otherNode parameter refers to the same node.

false

The nodes are not the same node.

 

Standards information

Remarks

This determines whether or not two references refer to the same node. If the references refer to the same node, you can use the references interchangeably, even when using a proxy.

See also

a
attribute
audio
button
div
document
documentType
ProcessingInstruction
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
IHTMLDOMNode3

 

 

Build date: 11/28/2012

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