TextRange Properties DHTML Object Properties
Sets or retrieves the text contained within the range.
HTML |
N/A |
Script |
TextRange.text [ = sTxt ] |
sTxt |
String specifying the contained text. |
The property is read/write with no default value.
The text is formatted within the current context of the document. This property cannot be set while the document is loading. Wait for the onload event before attempting to set this property.
This feature might not be available on non-Win32® platforms. See article in the Microsoft Knowledge Base for the latest information on Microsoft® Internet Explorer® cross-platform compatibility.
TextRange