getBookmark
Summary
Retrieves a bookmark (opaque string) that can be used with moveToBookmark to return to the same range.
Method of dom/TextRangedom/TextRange
Syntax
var bookmark = textRange.getBookmark();
Return Value
Returns an object of type StringString
Returns the bookmark if successfully retrieved, or null otherwise.
Notes
Remarks
.
Syntax
Standards information
There are no standards that apply here.
Attributions
Microsoft Developer Network: [getBookmark Method Article]