Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript beforeunload

window.addEventListener("beforeunload", function(event) { ... });
window.onbeforeunload = function(event) { ... };
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #beforeunload
ADD COMMENT
Topic
Name
4+4 =