Undefined textfield value
1 posts in topic
Flat View  Flat View

Posted By:   Brian_Boyle
Posted On:   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

Posted By:   Firat_Tiryaki  
Posted On:   Thursday, March 4, 2004 12:19 AM

check out the form and input names, be sure that you are using them correctly and case sensitive...
About | Sitemap | Contact