Element.innerText

string innerText() @scriptable @property const

Fetch the inside text, with all tags stripped out.

cool api & code dude

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].

See Also

[visibleText], which is closer to what the real innerText

does.

void innerText(string text) @scriptable @property

Sets the inside text, replacing all children. You don't have to worry about entity encoding.