title: Disable parent window of popup in JSP
body: <p>I have a JSP page on which when 'Search' button is clicked a popup window is open,</p>
  
  <p>I want to disable parent window on this popup , for which I am using</p>
  
  <pre><code>window.opener.document.body.disabled=true;
  </code></pre>
  
  <p>but though it make parent window appear as disabled, it actually dont make it disabled, all controls, links tabs are enabled and can be used/clicked.</p>
  
  <p>What Should I do?</p>
  
  <p><strong>EDIT</strong> I cannot use Modal for some reason.</p>