I am new.
When I try to add a variable and a number from a textbox they add as strings:
var m=(window.document.myform.mo.value);
var b=m+24
if m=12 then I get b=1224
Now when I add number to it I get an error in the page:
var m=number(window.document.myform.mo.value);
var b=m+24
I am sure all the other code is correct.
How do you change a variable into a number format?








Bookmarks