title: Can I delay jQuery addClass?
body: <p>Is there a way to delay the <code>addClass()</code> of jQuery? For example this code</p>
  
  <pre><code>$('#sampleID').delay(2000).fadeOut(500).delay(2000).addClass('aNewClass');
  </code></pre>
  
  <p>When I load the page, it has the class 'aNewClass' already on id 'sampleID'. How to solve this problem? What I want is the addClass will happen after it ended the <code>fadeOut()</code>.</p>