Thanks for all the input. Sorry, I’m completely overloaded with several projects right away, so I couldn’t post updates at the debugging stages.
It took me forever, but I finally realized that it worked when I closed the dialog containing the first PDF.
One of my helper functions opened a dialog and automatically destroyed the contents when closed. This usually works fine, as I either remove the div containing the fragment of the page, or the iframe.
In this situation, I had a fragment of a page loaded into a dialog in which there were some buttons and a pdf iframe. I called the .remove () method on the parent element containing the iframe, not the iframe itself. For some reason, this seems to work fine in any other browser, but in IE9 it pretty much kills the page display without any warnings or messages.
I strongly suspect that the culprit is the adobe plugin, but I'm not quite sure.
Here is the fix -
Html:
<div id="container"> <iframe src="loremipsum.pdf"></iframe> </div>
Javascript:
//Ruins my entire week $("#container").remove(); //Works as the pdf is removed directly $("#container").find("iframe").remove().end().remove();
Kelly gendron
source share