javascript Range startOffset
| startOffset | NN 6 IE n/a DOM 2 |
| Read-only | |
|
Returns an integer count of characters or nodes for the start point's location within the node reported by the startContainer property. If the startContainer is a text node, the startOffset property counts the number of characters to the right of the first character of that text node. If the startContainer is an element node, the startOffset property counts the number of nodes between the start of the containing node's content and the start point. See endOffset for more details. |
|
| Example | |
var rngStartOff = rng.startOffset; |
|
| Value | |
Integer. |
|
| Default | |
None. |
|
Previous: javascript Range cloneContents( )
1628,Nickname,Homepage or email,Comments here,Add comment
