Skip to content

Instantly share code, notes, and snippets.

@obahareth
Created August 15, 2013 23:55
Embed
What would you like to do?
Detect If An Image Has Been Loaded
$("#myImg").load(function()
{
alert('I loaded!');
}).each(function()
{
if(this.complete)
$(this).load();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment