I have an onload event in an iframe element and I'm preloading with about:blank. The onload event fires in both IE and Firefox when the parent document loads. When I use javascript to change the src of the iframe to a PDF document, the onload event fires in Firefox but not IE8. When I load the iframe with an HTML doc, the onload event fires in both browsers.
I have an application that I am loading PDF docs into an iframe. I need to know when the PDF doc is loaded. It works in Firefox, not IE8.
var v1 = document.getElementById("viewframe"); //This is the iframe element
v1.src = "something.pdf"
The loading works great, just not the onload event in IE8.
ToddWW
I have an application that I am loading PDF docs into an iframe. I need to know when the PDF doc is loaded. It works in Firefox, not IE8.
var v1 = document.getElementById("viewframe"); //This is the iframe element
v1.src = "something.pdf"
The loading works great, just not the onload event in IE8.
ToddWW