JavaScript (JS) code for accordion to toggle plus minus signs


+(function($) {
+ $( "#accordion" ).accordion({
+ collapsible: true
+ });
+ $('h3').click(function() {
+ $(this).siblings().removeClass('minus');
+ $(this).toggleClass('minus');
+ });
+})(jQuery);