title: window.onload equivalent after modifying the DOM?
body: <p>When a page first loads we can use <code>window.onload</code> to make sure that all resources have loaded before we do something.</p>
  
  <p>My question is, <strong>if we modify the DOM (e.g. inserting some html based on an ajax request), is there any event that will fire when the document is in the 'loaded' state again?</strong>  (e.g. when the html inserted contains multiple images).</p>
  
  <p>(Solution with jQuery would be fine).</p>