title: jquery function on toggleClass complete?
body: <p>How can I do a function once a toggleClass has completed? I've tried the following but with no luck:</p>
  
  <pre><code>$("#loader").toggleClass('fadeOut', function () {
      alert('a');
  });
  </code></pre>