Javascript Reference
Categories: TextRange

javascript TextRange getBookmark( ), moveToBookmark( )

@April 11, 2008, 5:46 a.m.
getBookmark( ), moveToBookmark( ) Firefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/DOM n/a  

getBookmark( ) moveToBookmark(bookmarkString)

  

These two methods work together as a way to temporarily save a text range specification and restore it when needed. The getBookmark( ) method returns an opaque string (containing binary data that is of no value to human users). Once that value is stored in a variable, the range can be modified as needed for the script. Some time later, the bookmarked text range can be restored with the moveToBookmark( ) method:

var rangeMark = myRange.getBookmark( );
...
myRange.moveToBookmark(rangeMark);
 
Parameters
 
  • An opaque string returned by the getBookmark( ) method.
 
Returned Value

Boolean value: true if the operation is successful; false if unsuccessful.

Dear gakaa.com administrator, Your posts are always well-supported by research and data.
Reynaldo Carter - 1 weeks
It still remains unclear that whether elevations of inflammatory markers like tumor necrosis factoralpha TNF- О±, interleukin- 6 IL- 6 and high sensitive C- reactive protein hs- CRP are related to PCOS or are a function of obesity, abdominal adiposity, or both <a href=https://enhanceyourlife.mom/>priligy uk</a> Ovarian stimulation involves the administration of gonadotrophins
Praxath - 4 months
<a href=https://vsdoxycyclinev.com/>doxycline hyclate 100mg purchase
Piebash - 3 years

Powered by Linode.