[Javascript] "Not Implemented" Error in IE -- Firefox is fine

Glenn E. Lanier, II glenn_lanier at netzero.net
Wed Dec 19 07:23:30 CST 2007


Turns out I was wrong about the location of the error - it is in the
addLoadEvent function 

 

function addLoadEvent(func) {

var oldonload = window.onload;

if (typeof window.onload != 'function') {

window.onload = func;

}

else {

window.onload = function() {

oldonload();

func();

}

}

}

 

I'm actually on Christmas vacation, and this is a production application, so
the code was removed fairly quickly. Sorry about that. I will create a
sample page after the first of the year to determine exactly what wasn't
implemented.

 

Thanks for the quick look.

 

--G

 

From: javascript-bounces at lists.evolt.org
[mailto:javascript-bounces at lists.evolt.org] On Behalf Of Glenn E. Lanier, II
Sent: Tuesday, December 18, 2007 2:59 PM
To: javascript at lists.evolt.org
Subject: [Javascript] "Not Implemented" Error in IE -- Firefox is fine

 

 

Can anyone shed any light on an error I'm getting in IE 7, but not Firefox?
The page is
http://www.alsde.edu/superintendentletter/superintendentletter.aspx?sys=001.
e6774ade - and when it loads, IE gives an error on line 20/character 16
which says "Not implemented". Firefox does not give any errors and works as
expected.

 

Any idea what is "not implemented"? If I'm counting correctly, the error is
with 

 

var theForm = document.forms['aspnetForm'];

 

but aspnetForm exists, and I'm pretty sure the document.forms[] is allowed.

 

Thanks,

Glenn

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20071219/beba1920/attachment.htm>


More information about the Javascript mailing list