Hacker News new | past | comments | ask | show | jobs | submit login

tl;dr Internet Explorer introduced a nonstandard mechanism, x.innerText, that returned the 'plaintext representation' of some node tree, in contrast to x.textContent (which includes the source whitespace) or selection.toString (which takes longer). This article looks at the use case, compares then browser compatibility (including jQuery), and looks at some previous standardization efforts.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: