Solved

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

Posted on 2009-05-07
1
156 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
This article discusses how to implement server side field validation and display customized error messages to the client.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

696 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