D
Derek
Hello:
I want to capture the event when a browser is closing, to give to the user
the posibility of close or no this browser. When the browser is closing,
this show a confirm window with two buttons: Accept and Cancel.
When press the Accept button, the browser is closing, and when press the
Cancel button, the browser isn´t closing.
I have tried with the event onunload, but this closes first the browser, and
then shows the confirm window.
Can somebody help me?. Thanks.
I want to capture the event when a browser is closing, to give to the user
the posibility of close or no this browser. When the browser is closing,
this show a confirm window with two buttons: Accept and Cancel.
When press the Accept button, the browser is closing, and when press the
Cancel button, the browser isn´t closing.
I have tried with the event onunload, but this closes first the browser, and
then shows the confirm window.
Can somebody help me?. Thanks.