I am a jquery/javascript newbie. What I want to do is add a class to the open accordion title, and remove it when i open another.
heres the code:
&l
I think this is the simplest way so far.
$('a.accordion-toggle').on('click', function () { $('a.accordion-toggle').removeClass('active'); $(this).addClass('active'); });