title: jQuery.load(function(){}) event doesn't work in collab with .get()?
body: <p>So I have this script on a website i'm working on, which basically loads images from a database and puts them in a div. When all the images are loaded, I want it to fire a scroller plugin (smoothdivscroll). But I can't find a way to make the last part work.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>$.get("pages/photosgigs.php", { gig: $(this).attr("id")}, function(data) {
      $('#makeMeScrollableGall').html(data)
      $(window).load( function() {
          $("#makeMeScrollableGall").smoothDivScroll();
          resize();
      });
  });
  </code></pre>
  
  <p>The php script on photosgigs.php returns a simple <code>&lt;img class="photo" src="..." /&gt;</code>. I've also tried it with <code>$("img.photo").load()</code> which, although I know it would fire when the first image is loaded, also doesn't work. Also tried <code>$("#makeMeScrollableGall").load()</code>, doesn't work either.</p>
  
  <p>I'm beginning to think my problem lies in the fact that my images are loaded dynamically. Is this correct?</p>
  
  <p>Or am I just doing everything wrong?</p>