Firefox 3.6.x does not fire off my onload event
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
13:53 UTC
Read the original article
Hit count: 288
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?
© Stack Overflow or respective owner