jQuery UI non conflict
jQuery UI non conflict
When changing jQuery to non conflict mode is there anything you have
to do to the jQuery UI plugin to get it working?
I am having problems getting an accordion to work, the sections are
hidden when the page loads so I presume the effect initialises, just
when I click the header sections I get the following error in my
console:
$.Event is not a function
My javascript apart from including jquery and jquery.ui is the
following:
jQuery.noConflict();
jQuery(document).ready(function ($) {
$('.accordion').accordion({
header: "h3"
});
});
Any ideas people?