0 out of 7 rated this helpful - Rate this topic

text property

[This documentation is preliminary and is subject to change.]

Retrieves or sets the text of the object as a string.

Syntax

JavaScript

p = object.text

Property values

Type: String

the text.

Standards information

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
text of an external script element is empty
Text of a script object is limited to the inline text; external scripts give empty text. Thus it is not possible to use the script element to examine external resources.