I have an IFRAME containing a page on the same domain as the parent (local network shared drive--not web server). If I put the full path to the page in the IFRAME's src, then I get the "Access Is Denied" error when trying to access elements on the child page.
Example: "//fileservername. example.com/folder/resource/childpage.html"
I've tried setting the domain on both the parent and child page (document.domai n = 'example.com') but still received the error.
If I put just the sub-folder path in the IFRAME src(e.g., "resource/childpage.html" ), then it works fine.
I'm trying to understand what the issue is because the child page may not always be in a sub-folder.
Thanks for any help you can provide.
Example: "//fileservername. example.com/folder/resource/childpage.html"
I've tried setting the domain on both the parent and child page (document.domai n = 'example.com') but still received the error.
If I put just the sub-folder path in the IFRAME src(e.g., "resource/childpage.html" ), then it works fine.
I'm trying to understand what the issue is because the child page may not always be in a sub-folder.
Thanks for any help you can provide.
Comment