title: jQuery on class removing event
body: <p>Well, I got something like this:</p>
  <p>HTML:</p>
  <pre><code>&lt;div id=&quot;main&quot; class=&quot;underline&quot; &gt;Hello&lt;/div&gt;
  </code></pre>
  <p>JavaScript:</p>
  <pre><code>$('div').live('click', function(){
      $(this).toggleClass(&quot;underline&quot;);
  });​
  </code></pre>
  <p><a href="https://jsfiddle.net/VYukS/" rel="nofollow noreferrer">https://jsfiddle.net/VYukS/</a></p>
  <p>I have to run some function on event when div class was removed, and I haven't got any permisions to edit functions that adding / removing class from div.</p>
  <p>How can I catch that event when class is removing?</p>
  <p>'click' event was used only as an example, so that class can be removen not only on the clicking</p>