On page close event?

Results 1 to 2 of 2

Thread: On page close event?

  1. #1
    Join Date
    Dec 1969

    Default On page close event?

    Is there anyway to raise some on close javascript event? If the user closes the webbrowser, is there a way to raise a javacript alert asking the user if they really want to close the page???<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default What, you don't believe me the first time?

    That I click the X button? ;)<BR><BR>You can pop up another window to tell the user that they&#039;ve closed the browser (on window_onunload) but you can&#039;t cancel it by a message box.<BR><BR>On a serious note, that does get annoying... of course I want to close my browser, otherwise I wouldn&#039;t have :p

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts