>From the html running inside of a Thickbox iframe I've discovered that something is causing the onerror and onload events for my images to not get triggered when running in Firefox 2. This issues does NOT occur in IE 7.
For example, try putting this into content that is loaded within a Thickbox iframe: <img src="http://someotherdomain.com/file.gif?rand=xxx" ID="myid" onerror="alert('img onerr');" onload="alert('img onload');"> When the content loads in IE the "img onload" alert is displayed as soon as the file.gif is loaded. However in Firefox 2 the onerror and onload events never fire at all, as determined by seeing no alerts at all. Likewise the JS error log is empty (no warnings or errors). I have also verified using debugging tools that the file.gif is being retrieved just find with a 200 status. I also tried with new Image() by setting its .onload and .onerror properties that way, and it makes no difference - does not fire in Firefox but does fire just fine in IE. Now if f I run the page that contains this img code in FF 2 directly (outside of Thickbox) then it works perfectly. So in some way either Thickbox or JQuery is eating/interfering with the events on the image load. Can someone shed some light on what may be causing this, and what possible work arounds or code tweaks I can try? I would be extremely grateful for any advice. Thank you!