|
Posted by J.O. Aho on 04/03/07 16:53
jimmy wrote:
> yeah u r right ...
> i'm talking about the code written in the javascript of an html
> page...
> is there any way i can capture the window closing event in the
> javascript?
>
I really doubt there is any way, closes would be "unload", it's closest of the
events listed on this event list page:
http://www.w3schools.com/jsref/jsref_events.asp
When you close down a window, you don't want some javascript to keep it open
for a long while, you want it to close down at once, and I guess thats why
there aren't any close button event.
--
//Aho
Navigation:
[Reply to this message]
|