Click to See Complete Forum and Search --> : a problem with JavaScript?


takashi0808
05-24-2003, 12:01 PM
I created this page with JavaScript
I get an error message when I open it.
There is no problem as far as I see, but the following message appears on the buttom

"Done, but with errors on page

Line 179
Char 3
Error 'document.all.element6.style' is null or not an object
code 0"

The line 179 is this
myObj = (document.all) ? eval("document.all.element"+objNumber+".style") : eval("document.getElementById('element"+objNumber+"').style");

link to the site (http://students.alliant.edu/personal/tmorita/internship/Templates/temp.dwt)

Can somebody help me?

Nevermore
05-24-2003, 12:16 PM
That link seems just to go to a download.