PDA

View Full Version : ddlevelsmenus.js script error message when opening html file in Contribute CS6.5



workoutmax
01-18-2013, 05:20 PM
Hello,

I've developed a website in Dreamweaver that uses the ddlevelsmenus.js file My client uses Contribute CS6.5 for a CMS. Everytime he opens a page to edit, he receives this error message:

An error has occurred in the script on this page.
Line: 400
Char: 4
Error: Unable to get value of the property 'removeAttribute': obect is null or undefined
Code: 0
URL: http://graberassociates.net/js/ddlevelsmenu.js

Line 400 is: dropul.removeAttribute("class");

Can you help as to why this error keeps displaying when opening the files? Your help is greatly appreciated.

Thanks,

Sue

ddadmin
01-18-2013, 05:42 PM
Sometimes the JavaScript errors that appear while editing a page in a CMS are just temporary, and do not actually show up when the site is viewed in a browser. The reason for the error could be a few things, such as the CMS not fully rendering all parts of the page when in edit mode. Do the errors show up even when the page is published and viewed inside a browser?

workoutmax
01-18-2013, 07:00 PM
Sometimes the JavaScript errors that appear while editing a page in a CMS are just temporary, and do not actually show up when the site is viewed in a browser. The reason for the error could be a few things, such as the CMS not fully rendering all parts of the page when in edit mode. Do the errors show up even when the page is published and viewed inside a browser?


No, the errors do not display and everything works fine. It's just a nuisance on his end whenever he tries to update the news pages which he updates frequently.

djr33
01-18-2013, 09:23 PM
workoutmax, your post was originally caught by our automatic spam filter (it's unclear exactly why-- it can be overprotective sometimes), so your (original) post is approved now. You didn't do anything wrong, so continue with your question :) (If it happens again, we'll approve it as soon as we see it.)