title: jQuery - Trigger event when an element is removed from the DOM
body: <p>I'm trying to figure out how to execute some js code when an element is removed from the page:</p>
  <pre><code>jQuery('#some-element').remove(); // remove some element from the page
  /* need to figure out how to independently detect the above happened */
  </code></pre>
  <p>is there an event tailored for that, something like:</p>
  <pre><code>jQuery('#some-element').onremoval( function() {
      // do post-mortem stuff here
  });
  </code></pre>