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: