[jQuery] Call a function just before the window close
Hello folks,
Probably this is a dumb question, but I'm not a javascript developer
(yet), so be patience with me! :P
How can I call a function just before the window close? When the user
click the close button of the window I want to execute some tasks.
Can I do that?