title: addClass & removeClass not working
body: <p>I have a menu, it should work as a click menu, so when clicking the button a menu will appear, and when clicking the button again, the menu should disapear, but i cant get it to work ? </p>
  
  <p>I've got this script</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
        $(document).ready(function() { 
          $('#dropdown').click(function(){
              setTimeout(function(){
                  $('#dropdown').attr("id", "dropdown2");
                  $('#dropmenu').addClass("open");
                  //$('#dropmenu').fadeIn('fast');
              },500);
          })
          $('#dropdown2').click(function(){
              setTimeout(function(){
                  $('#dropdown').attr("id", "dropdown");
                  $('#dropmenu').removeClass("open");
                  //$('#dropmenu').fadeIn('fast');
              },500);
          })
        });
      &lt;/script&gt;
  </code></pre>
  
  <p>It works fint when adding the class, but then when im clicking the button again, it wont remove the class "open"</p>