javascript selection createRange( )

createRange( ) NN n/a IE 4(Win) DOM n/a  
 

Creates a TextRange object from the current selection object. After a statement like the following:

var myRange = document.selection.createRange( );
 

scripts can act on the content of the selected text.

 
Parameters

None.

 
Returned Value

TextRange object.


1749,Nickname,Homepage or email,Comments here,Add comment