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

focusOffset property

Retrieves the end position of a selection that is relative to the focusNode.

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

Syntax

JavaScript

p = object.focusOffset

Property values

Type: Integer

The end position of the selection.

Standards information

Remarks

focusOffset typically refers to a character position within the text portion of the focusNode.

See also

HTMLSelection
Reference
focusNode
anchorNode
anchorOffset

 

 

Show:
© 2014 Microsoft