Call Now Button(function ($) { var rankMath = { accordion: function () { $('#rank-math-faq').find('.rank-math-answer').hide(); $('#rank-math-faq').find('.rank-math-question').click(function () { //Expand or collapse this panel $(this).nextAll('.rank-math-answer').eq(0).slideToggle('fast', function () { if ($(this).hasClass('collapse')) { $(this).removeClass('collapse'); } else { $(this).addClass('collapse'); } }); //Hide the other panels $(".rank-math-answer").not($(this).nextAll('.rank-math-answer').eq(0)).slideUp('fast'); }); $('#rank-math-faq .rank-math-question').click(function () { $('#rank-math-faq .rank-math-question').not($(this)).removeClass('collapse'); if ($(this).hasClass('collapse')) { $(this).removeClass('collapse'); } else { $(this).addClass('collapse'); } }); } }; rankMath.accordion(); })(jQuery)