Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

window closing event js

window.onbeforeunload = function(){
  alert("You are now leaving, are you sure?")
}
 
PREVIOUS NEXT
Tagged: #window #closing #event #js
ADD COMMENT
Topic
Name
8+5 =