textContent
dz / javascript / webapi / node / textContentNode Tree
Nodes
vs_innerText | |
content | textContent gets/sets all text content, including hidden elements. innerText is more aware of styling and won't return text of hidden elements. |
parents | javascript/webapi/HTML_DOM/HTMLElement/innerText |
hyperlink | https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent#differences_from_innertext |
location | knowledge/javascript.dz:230 |