I have an error Javascript:void(0)

Permalink
hi I have the above error which is appearing on a theme I am creating this stopping the edit page etc to be unusable any ideas anyone pretty please??

claire
 
ScottC replied on at Permalink Reply
ScottC
Hi Claire,

wild guess here, but I am guessing that your header:required is placed in the head tags of the theme you are working on then you have the javascript that came w/ the theme added later? This can cause named events to overwrite each-other and cause issues. I had issues with foxycart due to this.

Include the header required bit after the theme's javascript, that will help or fix it entirely.

If this doesn't work, then you need to remove the javascript from the theme, or look for any stray say <div id="container" onload="jsInit()"> Try getting rid of any onloads since some may have things set up for prototype or mootools or any other sort of javascript framework. I would only buy or use a theme that was built and targeted for jquery.
claire replied on at Permalink Reply
claire
Hi Scott,
Thanks for your help
It worked placing the header required bit above the Java but the the 2 javascripts didn't call so looked for anything odd couldn't find anything after pulling hair out I have decided to go back to the drawing board and basically give up now decided to re-design the area using new graphics and slideshow. That is sooo annoying I have problems every single time I use Java in concrete seriously frustrating.