how to disable parent window in asp.net using javascript
<p>i hv an asp.net form in which i have used master page, in this by clicking on one link button a popup window will be opened, my problem is i want to close a popup child window when parent form is closed.. or i should make parent form disable when child popup is active...
i got some code but its working only for IE,, please help me to work this in Google chrome
 this is my code which is working For IE
 in parent window i wrote like this</p>

<pre><code>function topWindow() {
    var popup = window.open('BranchSearch.aspx', 'mywindow', 'location=1,width=450,height=100,toolbar=0,menubar=no,resizable=no,scrollbars=no,status=no,left=340,top=340');
    popup.focus();
        }
</code></pre>

<p>and in body tag of child pop window i wrote like dis</p>

<p> </p>

<p>please help me as soon as possible
thank u</p>
