I have a text box element whose value I am trying to access using document.getElementById(\"id-name\").value. I find that the call is returning a null instead o
document.getElementById(\"id-name\").value
try this...