22 Replies Latest reply on Mar 24, 2015 3:57 AM by manojk71969730

    Popup / Alert dialogue on close / exit

    richelectron

      Hey everyone

       

      I have a simple request and I hope there is a simple solution to it - I would like a JavaScript pop up / alert to be displayed when a user closes the PDF document.

       

      i.e. Click Okay to continue closing this document (with Okay and Cancel buttons)

       

      I've seen numerous mentions of this exact thing that suggest it is possible (most of them are behind some kind of opt in / purchase) but I haven't managed to find any code examples out in the wild.

       

      Please could some kind person supply me with the JavaScript to do this if it is possible?

       

      Thanks