This topic has not yet been rated - Rate this topic

text property

Sets or retrieves the text contained within the range.

Syntax

JavaScript

p = object.text

Property values

Type: String

the contained text.

Standards information

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.

See also

TextRange
htmlText

 

 

Send comments about this topic to Microsoft

Build date: 11/8/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.