title: jQuery event delegation for when a selector comes into existence?
body: <p>Let's say I want to change the text of any new particular DOM elements that are created. E.g.:</p>
  
  <p>(not real API, I realize)</p>
  
  <pre><code>$('body').on('creation', '.change-this', function() {
    $(this).text('Boom!');
  });
  </code></pre>
  
  <p>So if I programmatically create <code>&lt;p class="change-this"&gt;</code> and add it to the DOM (via jQuery or otherwise), the above fires off. Is this something jQuery can do? All I can think of, is when I add whatever HTML programmatically, to do a <code>$.trigger('creation')</code> and have a handler ready to take care of those events.</p>