> > 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
> 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.
I would just like to add that there are various ways that browsers allow
users to "go back". In IE alone, you can press the backspace key, right
click and select "back", click on the "back" button or press ALT+left.
If a user wants to use such mechanisms, they should be prepared to accept
the consequences (such as the possibility of a form being submitted twice.)
However, the application developer has to make sure it behaves reasonably.
--
Stephen Oakes