How to check if image completely loaded.
$("#imgId").attr("src","img.jpg").load(function() {
// put here code that will execute after image loaded.
});
$("#imgId").attr("src","img.jpg").load(function() {
// put here code that will execute after image loaded.
});
No comments:
Post a Comment