Disable backspace in browser (except proper use in forms)
Posted: Fri Jun 15, 2007 11:19 am
I was just wondering if it is possible to disable the delete key from going back in the web browser (Internet Explorer).
The reason I want to do so is that I have users typing long paragraphs in a form and if they click outside of the form box on accident and hit the delete key to delete a word or something in their paragraph and do not realize they are outside of the form box their browser goes back and they lose what they typed in the form box.
Basically i need code to disable backspace in browser (except proper use in forms).
I have tried searrching Google but have only really found solutions for FireFox.
Any ideas/suggestions?
P.S. I think that this is the right category to post this thread in because I figure JavaScript would be used somehow. If I posted this thread in the wrong category I am sorry.
The reason I want to do so is that I have users typing long paragraphs in a form and if they click outside of the form box on accident and hit the delete key to delete a word or something in their paragraph and do not realize they are outside of the form box their browser goes back and they lose what they typed in the form box.
Basically i need code to disable backspace in browser (except proper use in forms).
I have tried searrching Google but have only really found solutions for FireFox.
Any ideas/suggestions?
P.S. I think that this is the right category to post this thread in because I figure JavaScript would be used somehow. If I posted this thread in the wrong category I am sorry.