title: jquery accordion click toggle class
body: <p>i want in <a href="http://jsfiddle.net/EYpdC/" rel="nofollow">this</a> when tab slide up remove class active and add active class in open tab</p>
  
  <pre><code> $(document).ready(function(){
              $("#accordian li h3").click(function(){
                  //slide up all the link lists
                  $("#accordian ul .row").slideUp();
                  //slide down the link list below the h3 clicked - only if its closed
                  if(!$(this).next().is(":visible"))
                  {
                      $(this).next().slideDown();
  
                  }
              })
          })
  </code></pre>