|
Names must not start with number,
do something like this
name="n10k"
document.goldcalculator.totalprice.value
returns a string, setting it will not
alter the value of the text box
do something like this
var calculatedPrice = document.goldcalculator.totalprice;
calculatedPrice.value =
var u = document.goldcalculator.gunit.value;
u will be a string not a number , input values
are returned as strings, you must convert them
to numbers
|