Get a node's inner text. Same as textContent, but inserts newlines for <br> tags. Ignores comments.
textContent
<br>
Node to get the inner text of.
node's inner text.
node
Use textContent instead.
Get a node's inner text. Same as
textContent
, but inserts newlines for<br>
tags. Ignores comments.