Conflict with Mootools accordian and Jquery-Collection of common programming errors
I am using mootools only for accordion .
script on separate page without any query works fine but the page on which has Jquery is causing lots of issues . I tried various variations but the error persists
jQuery.noConflict()
(window.addEvent('domready', function () {
new Fx.Accordion(jQuery('accordion'), '#accordion h2', '#accordion .content');
})(jQuery);
Error on browser console
Uncaught ReferenceError: Class is not defined mootools-art-0.87.js:182
Uncaught SyntaxError: Unexpected token ; navigation-test.html:30
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.