Go Back   CodingForums.com > :: Client side development > JavaScript programming > DOM and JSON scripting

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-24-2012, 10:44 AM   PM User | #1
sallyhargraves
New to the CF scene

 
Join Date: Jun 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sallyhargraves is an unknown quantity at this point
error message on internet explorer

HI I am helping a non profit organisation with their website.

www.jesterskidsclub.org

The drop down menu's are now not working on interent explorer. They are fine on firefox or chrome

This is the error message i receive

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C)
Timestamp: Sun, 24 Jun 2012 09:38:54 UTC


Message: 'd.getElementById(...)' is null or not an object
Line: 2
Char: 2723
Code: 0
URI: http://www.jesterskidsclub.org/xaramenu.js
sallyhargraves is offline   Reply With Quote
Old 06-25-2012, 12:53 AM   PM User | #2
jonathansampson
New Coder

 
Join Date: Jun 2012
Location: Atlanta, Georgia, United States
Posts: 34
Thanks: 0
Thanked 8 Times in 8 Posts
jonathansampson is an unknown quantity at this point
The problem is actually in jesters.js, on line 41:

Code:
36: startSubmenu("jesters_b6", "jesters_menu", 139);
...
41: endSubmenu("jesters_b5");
Note how your code begins creating "jesters_b6" but it tries to end "jesters_b5". Jesters_b5 doesn't exist yet, so it can't end it. You need to change line 41 to the following:

Code:
endSubmenu("jesters_b6");
Note that the code for jesters_b5 starts on line 42.
jonathansampson is offline   Reply With Quote
Old 06-25-2012, 02:24 PM   PM User | #3
sallyhargraves
New to the CF scene

 
Join Date: Jun 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sallyhargraves is an unknown quantity at this point
You are a star thank you
sallyhargraves is offline   Reply With Quote
Reply

Bookmarks

Tags
error, internet explorer, javascript

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:53 PM.


Advertisement
Log in to turn off these ads.