For Facebook Apps, how to call the parent window in the iframe?
- by seatoskyhk
So, in facebook, I cannot call myFrame.window to get the iframe parent window.
How can I do it?
What I'm trying archieve is: I have a popup (div) that will load a iframe.
And then in the iframe will have a button. Once people click the button inside the iframe, I want to close the popup(div).
Normally, I need to get the parent window. Then I can destroy the popup div. But in facebook, how can I do it? any alternative way to do that?
I don't want to refresh the page. :)