[Javascript] Javascript and FF

Del Wegener del at delweg.com
Sun Aug 30 07:46:51 CDT 2009


----- Original Message ----- 
From: "Troy III Ajnej" <trojani2000 at hotmail.com>

>
> The javascript error is at line 424,
>    if (calculator.measurement_units[k].checked == true)
> The report says: "calculator" is not defined.
>
>
>
> I never found any references to "calculator" - what is it? Is it an 
> element?


Hi Troy;
I found the same error and am confused.
calculator is the name of the form.
In the past I assumed that the statement in line 189
function process_form(calculator)
did declare/define calculator.
This function is called when the "estimate" button is clicked on the form so 
it has been executed before line 424..

If that is no longer valid, what is?  Where do I find such information?
Thanks.
Del 





More information about the Javascript mailing list