Differences between innerText and textContent.

This p element contains a hidden span element and a visible span element.

kkkk

Note: The textContent property is not supported in Internet Explorer 8 and earlier, and the innerText property is not supported in IE9 and earlier.