Prompt when closing the browser window...

Discussion in 'Javascript' started by Onur Bozkurt, Jun 27, 2003.

  1. Onur Bozkurt

    Onur Bozkurt Guest

    I want to ask the user if he/she is sure when he/she wants to close
    the browser window. And I want to cancel the event if she is not sure.
    I know this is possible, but I couldn't write the right code.
    Onur Bozkurt, Jun 27, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?d3J5dGF0?=

    Prompt user when closing the browser

    =?Utf-8?B?d3J5dGF0?=, Aug 25, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    3,739
    James Doughty
    Aug 31, 2005
  2. =?Utf-8?B?Vk1J?=

    Closing popup window when closing parent window?

    =?Utf-8?B?Vk1J?=, Feb 14, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    649
    Thomas Hansen
    Feb 15, 2007
  3. gaurav kashyap
    Replies:
    2
    Views:
    614
    gaurav kashyap
    Oct 30, 2008
  4. thomas
    Replies:
    0
    Views:
    226
    thomas
    Oct 23, 2003
  5. Tony
    Replies:
    10
    Views:
    313
    Randy Webb
    Feb 22, 2007
Loading...

Share This Page