I have 4 divs (class=mydiv), each with an image in, the load method fires on all other browsers I\'ve tested but it does not fire on IE9.0. I don\'t know if it works in any
According to Shankar Cabus, you can modify by:
if ($.browser.msie) { // For IE only
$('.mydiv img').onload = new function() {
alert("fired");
}
} else {
$('.mydiv img').load(function(){
alert("fired");
})
}
Since you want to do something after $('.mydiv img') loaded, but not window loaded. Hope this helps.