July 1998
Intermediate to advanced
1456 pages
65h 5m
English
innerText — NN n/a IE 4 DOM n/a
Read/Write
The rendered text (but not any tags) of the current element. If you
want the rendered text as well as any nested HTML tags, see
innerHTML. Any changes to this property are not
rendered through the HTML parser, meaning that any HTML tags you
include are treated as displayable text content only. You may change
this property only after the document has fully loaded. Changes to
the innerText property are not reflected in the
source code when you view the source in the browser. This property is
not supported in many objects in the Macintosh version of Internet
Explorer 4.
document.all.elementID.innerText = "How now brown cow?"String.
None.
Read now
Unlock full access