Wednesday, March 3, 2004 06:14 AM
I am trying to assign a value to a textfield in my jsp page. When I press a button it calls a java script function to increment the value of the textfield by one. However when I press the button nothing is happening. I used the alert function to find out the value of my textfield.
this returned a value of "undefined". Why would this be happening? Because of this I cannot assign a value to that textfield
document.myform.myinput.value = 1;
THanks for your help,
Re: Undefined textfield value
Thursday, March 4, 2004 12:19 AM