Sets or retrieves the text content of an object and any child objects.
![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Variant
The text content.
Standards information
See also
- a
- attribute
- audio
- button
- div
- document
- documentType
- ProcessingInstruction
- iframe
- img
- input type=button
- input type=checkbox
- input type=file
- input type=hidden
- input type=image
- input type=password
- input type=radio
- input type=reset
- input type=submit
- input type=text
- label
- legend
- media
- object
- optGroup
- option
- select
- source
- span
- table
- textArea
- TextNode
- video
Build date: 11/28/2012
