title: knowing when dynamically added data in div finished loading
body: <p>I am loading html data via ajax, containing images, into a div on my page using</p>
  
  <pre><code>$('#container').html(data)
  </code></pre>
  
  <p>assuming that the variable data is what the ajax returned,
  how can i know when the new data (and images) finished loading in the container?</p>