javascript TextRange pasteHTML( )

Replaces the current text range with the HTML content supplied as a parameter string. Typically, this method is used on a zero-length text range obj

javascript TextRange parentElement( )

Returns an object reference to the next outermost element that fully contains the TextRange object.

javascript TextRange moveToPoint( )

Collapses the text range to an insertion pointer and sets its location to the spot indicated by the horizontal and vertical coordinates in the brows

javascript TextRange moveToElementText( )

Moves the current TextRange object's start and end points to encase the specified HTML element object. The resulting text range includes the HTML for

javascript TextRange moveToBookmark( )

See getBookmark( ).

javascript TextRange moveEnd( ), moveStart( )

Moves only the end or start point (respectively) of the current text range by one or more units. An optional parameter lets you specify both the num

javascript TextRange move( )

Collapses the current text range to an insertion point at the end of the current range and moves it forward or backward from the current position by

javascript TextRange isEqual( )

Determines whether the comparison range is identical to the current text range.

javascript TextRange inRange( )

Determines whether the comparison range is within or equal to the physical range of the current text range.

javascript TextRange getBookmark( ), moveToBookmark( )

These two methods work together as a way to temporarily save a text range specification and restore it when needed. The getBookmark( ) method retu

javascript TextRange findText( )

Searches the current TextRange object for a match of a string passed as the required first parameter. By default, matching is done on a case-insen

javascript TextRange expand( )

Expands the current text range (including a collapsed range) to encompass the textual unit passed as a parameter. For example, if someone selects so

javascript TextRange execCommand( )

Executes the named command on the current TextRange object. Many commands work best when the TextRange object is an insertion point.

javascript TextRange duplicate( )

Creates a new TextRange object with the same values as the current range. The new object is an independent object (the old and new do not equal ea

javascript TextRange compareEndPoints( )

Compares the relative position of the boundary (start and end) points of two ranges (the current range and one that had been previously saved to a v