title: Load content and preload images via AJAX?
body: <p>Say I have like:</p>
  
  <pre><code>$(function() {
      $('a').click(function(e) {
          e.preventDefault();
          var h = $(this).attr('href');
          $('#content').load(h);
      });
  });
  </code></pre>
  
  <p>That actually doesn't load the images as well it just loads the content, how do you go about loading the actual images too?</p>
  
  <p>Some people didn't seem to understand: what I mean is it does load the images but doesn't 'preload' thus meaning you witness the images load individually.</p>
  
  <p><strong>Edit</strong>: Say the href was equal to somepage.html and that page had images on it as well as content, yes it would load the images and the content but it doesn't actually preload the images at all, you're still witnessing the images load individually. How would one go about preloading the images in the request itself?</p>