Javascript Reference
Categories: TextRange

javascript TextRange text

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

Read/Write  

Indicates the text contained by the text range. In the case of a TextRange object of a body element, this consists of only the text that is rendered, but none of the HTML tags behind the scenes.

 
Example
 
var rangeText = document.body.createTextRange( ).text;
 
Value

String.

 
Default

None.


Powered by Linode.