title: jQuery callback within the remove() function
body: <p>I need to call a function after a DIV has been removed from the page. </p>
  
  <p>I have tried adding a callback like so, but no luck. Any suggestions?</p>
  
  <pre><code>$(foo).remove( function() {
     stepb();
  });
  </code></pre>