Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 666
Balaji Sivanath Avatar asked Jan 17 '13 11:01

Balaji Sivanath


1 Answers

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

like image 150
Rinku Avatar answered Nov 15 '22 00:11

Rinku