View previous topic :: View next topic |
Author |
Message |
amcgibbon
Joined: 29 Dec 2009 Posts: 13
|
Posted: Wed Dec 30, 2009 5:47 pm Post subject: Error in IE 7 |
|
|
I am getting the following errors in IE on the following page. If you could help me suss out this problem I would be most appreciative.
http://jalc.org/rr/bands/overview.asp
In IE7:
Line: 50
Char: 2
Error: 'null' is null or not an object
Code: 0
URL: http://jalc.org/calendar/iflateng.htm
In IE8:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 1.1.4322; eMusic DLM/4; .NET CLR 3.0.30729)
Timestamp: Wed, 30 Dec 2009 17:44:12 UTC
Message: 'null' is null or not an object
Line: 49
Char: 2
Code: 0
URI: http://jalc.org/calendar/plugins.js?0
|
|
Back to top |
|
|
calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Wed Dec 30, 2009 11:23 pm Post subject: |
|
|
You have the following code set in plugins.js:
Code: | function fOnResize() {
var cap=fGetById(gContainer.document,"smallCaption");
cap.innerHTML=gMonths[gCurMonth[1]-1]+" "+gCurMonth[0];
} |
But obviously there is no matching element named as "smallCaption" in your html container page. It looks like this code is copied from somewhere and I think you just need to remove this function if it's not required, or add the missing html element with id "smallCaption".
By the way, it's easier to get the exact error by running your page in firefox instead of IE, as in firefox you can check the exact line of error using the javascript console.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|
Back to top |
|
|
amcgibbon
Joined: 29 Dec 2009 Posts: 13
|
Posted: Thu Dec 31, 2009 2:22 am Post subject: A Million Thanks |
|
|
Thank you so much for your speedy reply and your recommendation about firefox and the error console. Have a happy New Year!
|
|
Back to top |
|
|
|