Created
September 21, 2015 05:56
-
-
Save mattcolman/493c216211edc87bc8e9 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
$(document).bind("keydown", function (e) { | |
if (e.keyCode == 8) { // backspace | |
e.preventDefault() | |
// do whatever the backspace should do | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment