Posted By

sveggiani on 12/15/09


Tagged

jquery not-mine


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

wirenaught


detect if an image has been loaded


 / Published in: JavaScript
 

URL: http://www.catswhocode.com/blog/10-jquery-snippets-for-efficient-developers

  1. $('#myImage').attr('src', 'image.jpg').load(function() {
  2. alert('Image Loaded');
  3. });

Report this snippet  

You need to login to post a comment.