C
Craig
I currently have the following code:
<input name="castStation" type="text" value="0"
onChange="valueCalculate()";>
The function called does a few caluclations and writes the total to a
total box.
However, if the user type a non-numeric char, I get NaN.
Is there a way to only allow numeric entry? I tried to add a
onKeyPress, but the problem is I don't think you can have more than
one function per <input..>, or can you?
<input name="castStation" type="text" value="0"
onChange="valueCalculate()";>
The function called does a few caluclations and writes the total to a
total box.
However, if the user type a non-numeric char, I get NaN.
Is there a way to only allow numeric entry? I tried to add a
onKeyPress, but the problem is I don't think you can have more than
one function per <input..>, or can you?