Created
January 28, 2015 01:02
-
-
Save Andygmb/68cd7110295231e7f799 to your computer and use it in GitHub Desktop.
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
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-1.11.2.js"></script> | |
<script> | |
$("button").on("click", function(e){ | |
e.preventDefault() | |
}) | |
</script> | |
</head> | |
<body> | |
<a href="/red/1"><button> Click me to turn red on</button></a> | |
<a href="/red/0"><button> Click me to turn red off</button></a> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment