I have an issue with a directory i am working on and hope someone can help.
I keep getting null is null error on every web page triggered from the navbar.
Also advanced search and review javascript does not work when links are triggered. I am hoping I can provide code for someone to take a look at. Please advise who may be intersted in taking a look at the code to fix.
Thx bundle.
Fix Code
Moderator: General Moderators
Code Fix Please
Webpage error details:
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618; MSN Optimized;US)
Timestamp: Fri, 14 Aug 2009 22:10:41 UTC
Message: 'null' is null or not an object
Line: 76
Char: 5
Code: 0
URI: http://www.bizcus.com/ebizcus/listing/
Message: 'null' is null or not an object
Line: 103
Char: 6
Code: 0
URI: http://www.bizcus.com/ebizcus/listing/
Message: Object expected
Line: 128
Char: 1
Code: 0
URI: http://www.bizcus.com/ebizcus/listing/
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618; MSN Optimized;US)
Timestamp: Fri, 14 Aug 2009 22:10:41 UTC
Message: 'null' is null or not an object
Line: 76
Char: 5
Code: 0
URI: http://www.bizcus.com/ebizcus/listing/
Message: 'null' is null or not an object
Line: 103
Char: 6
Code: 0
URI: http://www.bizcus.com/ebizcus/listing/
Message: Object expected
Line: 128
Char: 1
Code: 0
URI: http://www.bizcus.com/ebizcus/listing/
Re: Fix Code
It has nothing to do with php.
Moved to Javascript forum.
Re: Fix Code
Problem is with $(document) which returns null
because $ function is:
You don't have jQuery loaded on that website, but you are trying to use $ as it would be jQuery
Code: Select all
$(document).ready(function() {Code: Select all
function $(id) { return document.getElementById(id); }Re: Fix Code
Thanks for your help.
How do I load JQuery so that I can fix the error.
Thanks for your help.
How do I load JQuery so that I can fix the error.
Thanks for your help.
Re: Fix Code
I see you already got it fixed 