Use jQuery's .text() for maximum browser compatibility.

innerText works in Chrome but not in Firefox. Firefox works with textContent. jQuery provides .text for compatibility.