2
rated 0 times
[
6]
[
4]
/ answers: 1 / hits: 26974
/ 13 Years ago, fri, february 3, 2012, 12:00:00
I have the following HTML:
<input type=text id=endDateEditBox value= style=margin-left:5px; height:18px; width:70px; vertical-align:middle; onchange=validateDate('endDateEditBox', $(dateFormatErrorString).value)>
And I am trying to make this focus using the following Javascript:
document.getElementById(endDateEditBox).focus();
Which chrome console and Firebug both return as undefined. I feel like I am missing something very obvious here, can anyone help?
More From » html