English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

When user press backspace it will automatically go to previous page. I want to prevent this action. Means there will be no action taken after user press backspace key i am using asp.net with vb.net.

2006-08-19 05:26:05 · 2 answers · asked by dipak 2 in Computers & Internet Programming & Design

2 answers

you will need to add this event handler in order to disallow users from pressing the backspace button, hope this helps good luck.

function MicrosoftEventHandler_KeyDown()
{
if (event.keyCode == 8)
{
event.returnValue = false;
event.cancel = true;
e.preventDefault();
return false;
}
return true;
}

2006-08-19 07:15:03 · answer #1 · answered by Adeel I 3 · 0 0

write eventHandler for Escape Key

that to not take any action

more deatil mail me with code

2006-08-19 05:31:30 · answer #2 · answered by Godlike 2 · 0 0

fedest.com, questions and answers