Javascript Methods JavaScript Reference

Note:
Moves a text range to encompass the contents.
    
Syntax:
    
textRangeName.moveToElementText(param1)
Parameters:
    param1   Required; the element to which the text range will be moved.