
Hi,
I want to get IFRAME content window innerHTML values in MS CRM Online 2015 using JavaScript, but I am getting "Access is Denied" error.
The IFRAME content is .aspx website and it is hosted on different domain.
I have used the below part of code:
var Iframe= document.getElementById("Iframe");
var innerDoc = Iframe.contentWindow.document.body.innerHTML;
Please help me to achieve this.
Thanks.
*This post is locked for comments
I have the same question (0)Hello,
You just can't. This is limitation of browsers. Here is a prove - stackoverflow.com/.../get-dom-content-of-cross-domain-iframe