Wednesday, May 12, 2010

How to check if image completely loaded.

How to check if image completely loaded.

    $("#imgId").attr("src","img.jpg").load(function() { 
        // put here code that will execute after image loaded.
    }); 

No comments:

Post a Comment