jQuery on click and click again
<p>I am trying to make it so that when a button is clicked then a class is given to it and when its clicked again the class is removed. </p>

<p>Could someone help?</p>

<pre><code>    $("body").on("click", ".AudioShowHidePlaylist", function(event){
        $('.AudioShowHidePlaylist').addClass('active');
    });
</code></pre>
