Windows Dev Center

all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

anchorNode property

Returns the element or node that contains the start of the selection.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 7.6.1

 

Syntax

JavaScript

p = object.anchorNode

 

Property values

Type: Object

The start of a selection.

Standards information

See also

HTMLSelection
Reference
focusNode
focusOffset
anchorOffset

 

 

Show:
© 2015 Microsoft