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

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?
pmsguyAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
OnthraxConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.