text property
[This documentation is preliminary and is subject to change.]
Retrieves or sets the text of the object as a string.
Syntax
| JavaScript | |
|---|
Property values
Type: String
the text.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Build date: 3/8/2012