Unspecified error when loading in iframe in IE #2064

SamuelKC opened this Issue Jul 13, 2011 · 1 comment

3 participants


I use an iframe to show a preview of my application. It work great in Firefox and Chrome, but in IE it throw an "unspecified error" and the application is not loaded displaying a blank page instead.

The error is at line 2962:

$( document.activeElement || "" ).add( "input:focus, textarea:focus, select:focus" ).blur();

It seem that in IE document.activeElement throw an unspecified error instead or returning null when loading an iframe. Wrapping the line in a try catch seem to fix the issue.


I have the same problem in IE9, IE8 seems to work fine though

@toddparker toddparker closed this Aug 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment