/ Published in: JavaScript

A way to call a function before the window is unloaded/refreshed/etc. Used in the first E-shot Management System. Useful for auto-saving data/content before the window is closed or refreshed.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
window.onbeforeunload = function_name;
Comments
