Created
August 29, 2012 13:34
-
-
Save ekka21/3512582 to your computer and use it in GitHub Desktop.
Javascript: confirm delete alert box
This file contains hidden or 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
var confirmDel = confirm("Are you sure? This is your last chance!"); | |
if(confirmDel === true) | |
{ | |
return true; | |
} else { | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment