Created
February 14, 2014 19:16
-
-
Save mrbusche/9007165 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onbeforeunload = function() { | |
return 'You are exiting before completing the payment process. Failure to secure a down payment at submittal could impact the account creation timing.'; | |
} | |
$(function($) { | |
$('a[href^="javascript:"],input').click( | |
function() { | |
window.onbeforeunload = null; | |
} | |
) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment