Hi.
I have a form with 400 inputs. In this inputs, I use java too calkulate spent hours in a project. In this script I cant use "," so I have too use ".". So when i type EX."7,5" the output in the Sum box says "NaN". Is there a way too make every typed "," too "."?

Code:
<script type="text/javascript">

function startCalc(){
interval = setInterval("calc()",1);
}
function calc(){

ntid1 = document.kjorebok.ntid1.value;
ntid2 = document.kjorebok.ntid2.value;
document.kjorebok.Sumntid.value = (ntid1 * 1) + (ntid2 * 1);

}
function stopCalc(){
clearInterval(interval);
}
// End -->
</script>

<FORM name="kjorebok" method="POST">
<input type="text" name="ntid1" size="1" onFocus="startCalc();" onBlur="stopCalc();">
<input type="text" name="ntid2" size="1" onFocus="startCalc();" onBlur="stopCalc();">

<input type="text" name="Sumntid">
</form>
Best reguards

André