title: jquery image not loading problem
body: <p>does anybody knows how to check if an image loads properly. I have a script that preloads images and what I wanted to do is if the image doesn't exists, which causes my script not to end, I would just make the attribute "src" to be a default value</p>
  
  <pre><code>image.load(function(){
   //it never reache here if the image doesn't exist
  }).attr('src','a non existing image');
  </code></pre>
  
  <p>Thanks</p>