var text = td.innerText || td.textContent; var text = td.innerHTML; var text = document.createTextNode(); var text = td.data;