Solved

Permission denied to get property trying to call IFRAME object on another domain

Posted on 2009-05-07
1
155 Views
Last Modified: 2012-05-06
I need to have a button inside and IFRAME to close the IFRAME by calling the object that created the IFRAME.

The problem is, my calling program resides on another domain then the IFRAME.

Any solutions how to resolve this?
0
Comment
Question by:pmsguy
1 Comment
 
LVL 13

Accepted Solution

by:
Onthrax earned 500 total points
ID: 24330329
You can't. Domain-cross scripting is not allowed as this would pose a huge security risk.

Your only alternative is to hide the Iframe with some javascript.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question