title: jQuery: Can I call delay() between addClass() and such?
body: <p>Something as simple as:</p>
  
  <p><code>$("#div").addClass("error").delay(1000).removeClass("error");</code></p>
  
  <p>doesn't seem to work. What would be the easiest alternative?</p>