How do I attach event to popup parent's parent?
<p>I want to attach an event to popup parent's parent.</p>

<p>Hierarchy is like this:-</p>

<p>Form1(master page) containing iframe opens Form2(without master page) opens a popup.</p>

<p>I want to identify Form1 in popup opened by Form2 through Javascript.How do I do it?</p>

<p>It works only for Form2.</p>

<p>window.opener.document.attachEvent("onclick",setfocus);</p>
