F
Fred Bloggs
Hi, I'm a complete newbie to javascript.
I downloaded the script
http://javascript.internet.com/math-related/calculate.js
to use in a seminar registration form. It works fine in IE7, but in FF
nothing happens. When I look at the error console it gives the error:
Line 20: Calc is not defined (line 20 is
if (calc.item1.checked){I've looked all over the net to find out why FF
doesn't like this. Can anyone help? What should it be changed to?Many
thanks.Fred.
I downloaded the script
http://javascript.internet.com/math-related/calculate.js
to use in a seminar registration form. It works fine in IE7, but in FF
nothing happens. When I look at the error console it gives the error:
Line 20: Calc is not defined (line 20 is
if (calc.item1.checked){I've looked all over the net to find out why FF
doesn't like this. Can anyone help? What should it be changed to?Many
thanks.Fred.