JavaScript Reference/Javascript Properties/innerText
"innerText" Example
<source lang="javascript">
<html> <body>
Sample Text inside a p element
<button onclick="alert(myP.innerHTML);">InnerHTML</button> <button onclick="alert(myP.innerText);">InnerText</button> </body> </html>
</source>
"innerText" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> | | | |
| |<body> || |<button>
| | | | | |
| |<custom> | | |
| | | <dir> ||| |<fieldset> | | |<form> <hn> | | |<html> | | |<iframe> | | | <label> |
| |<legend>| | |<listing> <map> | | |<marquee> <menu> | | |<nobr> | | |<option>
| | |<plaintext>
| | |