I'm doing a chat, if one user close the windows throw X button, I need one event to do an action (delete the user for example) how I can do it. In JavaScript exist onunload event, but it is executed when the page is submit.
Any help would be appreciateThe "onunload" event is executed whenever the browser navigates away from
the current location, as well as when the window is closed.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Kiosmy" <anonymous@.discussions.microsoft.com> wrote in message
news:3D47182A-6569-4C43-8294-378C41BFFD71@.microsoft.com...
> I'm doing a chat, if one user close the windows throw X button, I need one
event to do an action (delete the user for example) how I can do it. In
JavaScript exist onunload event, but it is executed when the page is submit.
> Any help would be appreciate
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment