console.log(document.activeElement);
This code is in an iframe, when opening a page which contains this iframe shows "SCRIPT16389: Unspecified error" in IE 8/9 standards mode. No problem when opening in quirks mode. I'm clueless about this, I have searched whether IE supports document.activeElement, its specified as >IE4 is supported.
check the below given link if it helps you.. Link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With