rbonas
08-02-2002, 03:45 PM
Hello out there to anyone that can help I am a new comer to javascripts and I am having the following error occur when my users run my page with the internet option for displaying script errors in iexplorer is on
Error: 'document.form.total' iss null or not an object
the function seems to be working fine as it does what it is supposed to do and the form os submitted with no problems (It also works well when the display script error option is turned off).
function calculate()
{
document.form.total1.value = dp((document.form.subtotal.value))
document.form.subtotal.value = dp(eval(document.form.total1.value))
document.form.total.value = dp((document.form.subtotal.value))
}
Error: 'document.form.total' iss null or not an object
the function seems to be working fine as it does what it is supposed to do and the form os submitted with no problems (It also works well when the display script error option is turned off).
function calculate()
{
document.form.total1.value = dp((document.form.subtotal.value))
document.form.subtotal.value = dp(eval(document.form.total1.value))
document.form.total.value = dp((document.form.subtotal.value))
}