Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$(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