title: jquery detecting div of certain class has been added to DOM
body: <p>I'm using <code>.on()</code> to bind events of divs that get created after the page loads. It works fine for click, mouseenter... but I need to know when a new div of class MyClass has been added. I'm looking for this:</p>
  
  <pre><code>$('#MyContainer').on({
  
    wascreated: function () { DoSomething($(this)); }
  
  }, '.MyClass');
  </code></pre>
  
  <p>How do I do this? I've managed to write my entire app without a plugin and I want to keep it that way.</p>
  
  <p>Thanks.</p>