title: Disable parent window when child popup window is open
body: <p>I have an aspx page that pops up in a child window. Is there a way to make the parent window non-accessible until the popup child window is closed?</p>
  
  <p>For the record, I'm using the following jQuery code for opening and closing popup. On parent page:</p>
  
  <pre><code>      $(document).ready(function () {
              $('#btnLogos').click(function () {
                  window.open("Logos.aspx", "List", "scrollbars=no, resizable=no, width=500, height=350");
              });
          });
  </code></pre>
  
  <p>The code above triggers when a button called "btnLogos" is clicked from the parent aspx file, then in the child popup window I have the following jQuery:</p>
  
  <pre><code>    $(document).ready(function () {
      $('#btnSubmit').click(function () {
          var val = $('input:radio[name=myRadio]:checked').val();
          $(window.opener.document).find('#txtLogos').val(val);
          window.close();
      });
  });
  </code></pre>
  
  <p>As you can see from the code above, not only does it close the popup child window, it also passes a value to a textbox in the parent window with a click of a button. My only issue now is to make sure the parent window is not accessible until that button in the child window is clicked. I tried using various solutions from CSS to Javascript but was not successful. I'm also aware that this can be done using showModalDialog, but this site has to operate on any browser, not just IE. Any ideas on how to achieve this?</p>
  
  <p>Thank you.</p>