>
> Whenever the user presses backspace key in the keyboard the browser goes to
> the previous page, which crashes our site when the user tries to save its
> contents once again or he loses data which have been typed.
>
> I think its remedy is to disable backspace button by JavaScript, but how
> should I do it ?
> If anybody know this code snippet please let me to know
The remedy is to fix your site. Even if you could capture the key stroke
events, ignoring the backspace is not the solution. This advice falls in
the same category as NEVER rely on javascript for something that is
critical to your site.
mike
(thanks for nothing, right :)