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

Submitted by barnettech on Fri, 06/30/2017 - 11:54


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