JavaScript programming language
Disabling the backspace key on a page with jQuery
Submitted by David Lohmeyer on November 18, 2010 - 12:10pmI had an issue with a multi-page form recently where Internet Explorer would go back a page immediately upon hitting the backspace key. If you accidentally do this while not in a text field you'll lose your form data. Other browsers actually ask you if you want to resend data when you go back. The solution was to disable the backspace key on my form page. I accomplished this with the following Javascript (requires jQuery):