Possible Duplicate:
JavaScript: Know when an image is fully loaded
I have this code:
$("#imageOnPage").attr("src", urlString);
I need to somehow fire an event after the image becomes visible on the screen. In other words I need an onLoad event for the image.