D
dan baker
a simple question... I have a case where I' dlike to add values as
numbers and they seem to get added as a string concatination. how do I
force the + to add the values as numbers?
this is in an <INPUT onchange="OrderForm.TotalCharge.value=this.value
+ 1;" >
a related question is that I have some other calculations to do in
addition to this one-liner, so I am assuming I should write a little
<SCRIPT> function and just make the onchange="MyReCalc();"
thanks,
d
numbers and they seem to get added as a string concatination. how do I
force the + to add the values as numbers?
this is in an <INPUT onchange="OrderForm.TotalCharge.value=this.value
+ 1;" >
a related question is that I have some other calculations to do in
addition to this one-liner, so I am assuming I should write a little
<SCRIPT> function and just make the onchange="MyReCalc();"
thanks,
d