DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js when you leave
window.onbeforeunload = function(){ return 'Are you sure you want to leave?'; };
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#js
#leave
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit