Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

text property

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

Syntax

JavaScript

p = object.text

 

Property values

Type: String

the text.

Standards information

See also

comment
HTML Comment
script
title

 

 

Show:
© 2015 Microsoft