Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

text Property


Sets or retrieves the text contained within the range.

Syntax

TextRange.text [ = sTxt ]

Possible Values

sTxtString that specifies or receives the contained text.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The text formats within the current context of the document. You cannot set this property while the document is loading. Wait for the onload event before attempting to set this property.

This feature might not be available on non-Microsoft® Win32® platforms.

Standards Information

property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

TextRange

See Also

htmlText

     Car Credit | Babb Fest | Compare Mobile Phones | Chomsky | Xbox Mod Chip
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp