javascript Element innerText
@June 27, 2008, 3:31 p.m.
innerText | Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a |
|
Read/Write |
Indicates 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 IE 4. |
|
Example | |
document.getElementById("elementID").innerText = "How now brown cow?";
|
|
Value | |
String. |
|
Default | |
Empty string. |
Permanent URL:
http://javascript.gakaa.com/element-innertext.aspx
Hi, it's hard to find javascript.gakaa.com in google, i found it on 34 spot, you should build some high quality backlinks, i know what can help you, simply search in google for - edaya traffic increase
93GregoryA
- 2014-04-26
Under moderation.
DerrickGave
- 2014-03-16
Powered by Linode.