Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

navigation prompt javascript

// Enable navigation prompt
window.onbeforeunload = function() {
    return true;
};
// Remove navigation prompt
window.onbeforeunload = null;
 
PREVIOUS NEXT
Tagged: #navigation #prompt #javascript
ADD COMMENT
Topic
Name
6+7 =