title: Change content when div exists or is loaded
body: <p>I want to add something to an element when its loaded / available.</p>
  
  <pre><code>&lt;div class="main"&gt;
      &lt;div class="dynamic"&gt;
       &lt;/div&gt;
       &lt;div class="dynamic"&gt;
       &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The first dynamic element is already available when the page is initially loaded.
  But the second one is loaded later by some javascript i cannot alter.</p>
  
  <p>I tried it like this but that does not work:</p>
  
  <pre><code>$('.main').on('load/change', 'div.dynamic', function() {
      $(this).html("add something");
  }):
  </code></pre>
  
  <p>Neither the first dynamic content is loaded nor the second one.</p>
  
  <p>It is probably a simple task but i cannot find the answer.</p>
  
  <p>I would appreciate some help.</p>