One of my websites throws up an error about the javascript not being defined when I view it in IE7.
After a bit of research, I think its something to do with the Doctype I am using, as I am using the HTML5 Boilerplate. This shouldnt cause a problem though right?
Can anyone tell me why this is happening and how to fix it? The website is: http://njbuildingandmaintenance.com
And here is the menu script I am using (the error isnt replicated on this page…) http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/
Thanks
In your file “script.js”, there’s a stray comma at the end of an object literal.
Get rid of that comma.