Solved

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

Posted on 2009-05-07
1
149 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
jquery, html5 UI 1 46
date format angularjs2 16 36
C3-->D3 Line Chart 4 16
Javascript Refresh Parent Page from Popup 3 23
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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 invoke it on a web page. 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.: (CODE)

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now