Element.textContent

Fetch the inside text, with all tags stripped out.

<p>cool <b>api</b> &amp; code dude<p> innerText of that is "cool api & code dude".

This does not match what real innerText does! http://perfectionkills.com/the-poor-misunderstood-innerText/

It is more like textContent.

class Element
alias textContent = innerText

See Also

visibleText, which is closer to what the real innerText does.

Meta