I have a project in which I have items from other domains. I use JavaScript to access the first iframe object in a variable. Here is the code:
var iframes = window.frames;
var ifrWindow = iframes[0].window;
ifrWindow.postMessage("hello",IframeDomain);
I get "Permission denied" for IE8 only. I have no problem with Chrome, Firefox, Safari or later versions of IE11 etc.
Has anyone encountered such a problem in IE8?
source
share