1 Reply Latest reply on Dec 15, 2011 10:36 AM by MichaelKazlow

    Does Adobe Reader Disable window.close()?

    rlval

      Help! I open a window using

       

      onclick

      ='javascript:MyWindow=window.open("Meeting.pdf")'

       

      But the following fails when trying to automatically close that window

       

        <body onunload="MyWindow.close()">

       

      This same code works fine when MyWindow does not have a PDF file (for instance, onclick='javascript:MyWindow=window.open("Picture.jpg")' works fine).

       

      Almost seems as if Adobe Reader is disabling .close

       

      Any thoughts?