Created
January 31, 2012 00:14
-
-
Save camt/1707729 to your computer and use it in GitHub Desktop.
A simple little trick for confirming with a user before they undertake an action on your web page. When the user clicks the link, they will hit a pop up box, displaying the confirmation message and two buttons. If they click yes the link is followed and t
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
<a href="irrevocable-action.php?doitnow=yes" onclick="return confirm('Are you really, really, really sure you want to do this?')">Do It!!</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment