Posted by jimmy on 04/02/07 08:31
Hi all,
I want to capture the event when the browser's close button is clicked
in a jsp.
I tried using the event.ClientX and event.ClientY property in the
body unload event, and this helps to recognise whether the close
button is clicked( also differentiates whethet refresh was clicked).
The problem arises whenever i try to close the window by resizing it
or by right clicking at the bottom of the page and then closing it.
Can anybody tell how to capture the window.close() event??
Navigation:
[Reply to this message]
|