Created
August 23, 2013 20:00
-
-
Save QuestionDevelopment/6323385 to your computer and use it in GitHub Desktop.
not so good...can't refresh page
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 = confirmExit; | |
function confirmExit() { | |
//return "To save your portfolio, click Cancel and then click the SAVE button.\n\nTo leave the page without saving your portfolio, click OK."; | |
} | |
<? } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment