I have a small problem with the following script:
$(document).load('img', function(){
alert('images have loaded');
})
The alert will pop up after all images have loaded, which is correct. However, the 'img' generates a 404 warning in the console.
GET http://www.website.com/img 404 (Not Found)