It sounds like your frames use different domains. All major browsers block access to the parent iframe if they do not use the same domain. IE, if you have a domain www.test.com , and you entered a page from www.google.com and try to access / change something from the google website, you will be denied access.
Another answer to this question explains the implemented post message API. It can also be used to send / receive data from different frames from different domains. However, what you can do with this is limited compared to the fact that you had two frames using the same domain.
As the saying goes, here is the answer if your frames use the same domain.
window.parent.observer;
Hope this helps someone :)
source share