Firefox 3.6.x no longer fires off my onload event boo hoo!
Posted
by Cheesle
on Stack Overflow
See other posts from Stack Overflow
or by Cheesle
Published on 2010-03-31T10:49:19Z
Indexed on
2010/03/31
10:53 UTC
Read the original article
Hit count: 285
Hi, I have a Firefox 3.6.2 problem (3.5.x works just fine).
This is the code:
...
var newImage = new Image();
newImage.onload=function() {swapMapImg(newImage);};
newImage.src = newBackground;
...
function swapMapImg(newImage) {
alert('bingo');
}
Firefox 3.6.2 no longer fires off my onload event, any ideas? Thank you!
© Stack Overflow or respective owner