How do I disable backspace when input checkboxes are focused on in jQuery?

Posted by sadmicrowave on Stack Overflow See other posts from Stack Overflow or by sadmicrowave
Published on 2010-04-14T16:07:36Z Indexed on 2010/04/14 16:33 UTC
Read the original article Hit count: 353

Filed under:
|
|
|

How do I disable the backspace button when input checkboxes are focused on in jQuery? When checkboxes are focused on and I press backspace (keycode=8) the browser thinks I'm trying to go back a page and uses backspace as a history.go(-1) command.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about backspace