My attempt to retrieve the value of TextBox1 in the following manner is not working:
document.getElementById("TextBox1").innerText
Despite trying it on both Chrome and IE, I am unable to get the desired result. Interestingly, when I use:
document.getElementById("TextBox1").style.backgroundColor
I do get values returned. It seems that only innerText is causing issues. Are there any alternative methods for retrieving the value of a textbox? Thank you!