Cross-domain access in iframe from child to parent


How do we access parent document from a document loaded inside an iframe when the page loaded inside iframe is from another domain?

I am getting a permission denied error.

Best Answer

if you have control of both documents, then you could easily use easyXDM ( to communicate between them. A nice and easy example of using it can be found at