J
jmDesktop
If I have this:
<input type="text" onchange="doIt(this);" />
How can I get the value of the textbox in doIt()?
I tried:
function doIt(o){
alert(' it is: " + o.Value);
}
But I get o is undefined.
I am trying to display what the user just typed in and wanted to do it
with the this keyword.
Thank you.
<input type="text" onchange="doIt(this);" />
How can I get the value of the textbox in doIt()?
I tried:
function doIt(o){
alert(' it is: " + o.Value);
}
But I get o is undefined.
I am trying to display what the user just typed in and wanted to do it
with the this keyword.
Thank you.