Element.js
Extends the native Element class with innerText property, for cross-browser compability. Document Object Model (DOM) Level 3 Core Specification has the textContent property, but since Internet Explorer doesn’t, it’s easier to retrofit the ECMAScript compliant browsers.
Documentation
The generated online documentation can be found here.
Changelog
- 2008-10-15 v0.1: Initial public release.
Download
Minfied:Element.js (0.2 K)Source:Element.js (0.7 K)
Author
Henrik Lindqvist <henrik.lindqvist@llamalab.com>