title: jquery: simple image preloader + onload
body: <p>i'm trying to make a simple image-preloader for just ONE image.
  it should load an image and - if finished - fire an event for displaying it.
  what's the simplest method to do this?</p>
  
  <p>i only know the pure javascript solution, like document.createElement("img") - but what's the best method using jquery?</p>
  
  <p>what i've got so far (but dunno if it's the optimal way):</p>
  
  <pre><code>var img = $("&lt;img src='/images/myPic.jpg'&gt;");
  img.bind("load", function(){alert("loaded!")});
  </code></pre>
  
  <p>thanks</p>