title: How to use jQuery live() for img onload event?
body: <p>I want to run some code when an image is loaded. Also, I'd like to do it unobtrusively (not inline). More specifically, I want to use jQuery's <code>live()</code> function so it will happen for any dynamically loaded images.</p>
  
  <p>I've tried:</p>
  
  <pre><code>&lt;img class="content_image" alt="" src="..." /&gt;
  &lt;script&gt;
      $('.content_image').live('load', function() {
        alert('loaded!');
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>In addition to <code>load</code>, I've tried <code>onload</code>, and <code>onLoad</code>. When I replace with 'click' all works as expected so I know it's not some interfering bug.</p>
  
  <p>I haven't been able to find a list of available event types for the <code>live()</code> function, so for all I know, it may not be possible.</p>