In my visual force page I am loading an iframe which show another visual force page inside it.
<apex:iframe id="leadIframe" src="/apex/Convert_Lead_Page?leadId={!leadId}" width="700px" height="350px" scrolling="false"/>
In the page loaded inside iframe, I have button. On clicking it should close the iframe and reload the page from which the iframe is opened.
I tried window.close(), window.opener.close()
Nothing worked. ANy ideas?