Javascript Reference
Categories: TextRange

javascript TextRange select( )

@March 15, 2008, 1:22 a.m.
select( )Firefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/DOM n/a  

  

Selects all the text that is included in the current TextRange object. This method brings some visual confirmation to users that a script knows about a particular block of text. For example, if you were scripting a search with the findText( ) method, you would then use the scrollIntoView( ) and select( ) methods on that range to show the user where the matching text is.

 
Parameters

None.

 
Returned Value

None.


Powered by Linode.