/ Published in: jQuery
Expand |
Embed | Plain Text
var imgsrc = 'img/image1.png'; $('<img/>').load(function () { alert('La imagen se cargó'); }).error(function () { alert('Error al cargar la imagen'); }).attr('src', imgsrc);
You need to login to post a comment.
