/ Published in: JavaScript

Con esto puedes tener control de las imagenes que fueron cargadas y las que no.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var imgsrc = 'img/image1.png'; $('<img/>').load(function () { alert('La imagen se carg�³'); }).error(function () { alert('Error al cargar la imagen'); }).attr('src', imgsrc);
Comments
