vbnov
March 21st, 2008, 03:52 PM
All,
I would like to replace the commas on textbox before summing it up.
Here is the code I use.
if(!isNaN(document.getElementById(str).value)&&document.getElementById(str).value!="")
grandTotal+= parseFloat(document.getElementById(str).value);
How I can replace the commas. Help is greatly appreciated.
I would like to replace the commas on textbox before summing it up.
Here is the code I use.
if(!isNaN(document.getElementById(str).value)&&document.getElementById(str).value!="")
grandTotal+= parseFloat(document.getElementById(str).value);
How I can replace the commas. Help is greatly appreciated.