I have a page with an iframe that contains a html page. I want to access a javascript variable in the parent page from within the iframe. The name of the variable in the main page is "observer".
I try and do the following in the iframe page:
parent.observer = 'aadasds';
but I am getting the following error:
Permission denied for to get property Window.observer from .