Pedro Chagas
asked on
Jquery success image loaded
Hi E's, I have this code to know if the image have any error when loaded:
Th best regards, JC
jQuery(function($) {
$("#logo img,#home img,#contact img").error(function() {
var which_one = $(this).attr("src");
alert(which_one+" fail");
});
});
If I want to know if the image was successfully load, what changes I have to do?Th best regards, JC
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER