Originally I was using input with an id and grabbing it\'s value with getElementById. Currently, I\'m playing with use the property and access the To get the text content or If you can use jQuery then you can use To get the HTML content in jQuerys. How can I grab the values of the
innerHTML
td
using getElementById()
as always.document.getElementById ( "tdid" ).innerText
document.getElementById ( "tdid" ).textContent
var tdElem = document.getElementById ( "tdid" );
var tdText = tdElem.innerText | tdElem.textContent;
$("#tdid").text();
var tdElem = document.getElementById ( "tdid" );
var tdText = tdElem.innerHTML;
$("#tdid").html();