Balaji Sivanath Balaji Sivanath - 27 days ago 29
Javascript Question

document.activeElement in iframe shows unspecified error in IE standards mode

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.

Answer

check the below given link if it helps you..
Link

Comments