Halt Backspace key press on IE
Hi,
Having problem with Backspace key. When user hit the Backspace key, my code should just display message and stop the action. But, instead the browser go to previous page (I think this is standard behavior for backspace).
Following is my code:-
obj.onKeyBackspace = function(event){
alert("Backspace key pressed");
return 1;
}
Any help, please?
TIA
Having problem with Backspace key. When user hit the Backspace key, my code should just display message and stop the action. But, instead the browser go to previous page (I think this is standard behavior for backspace).
Following is my code:-
obj.onKeyBackspace = function(event){
alert("Backspace key pressed");
return 1;
}
Any help, please?
TIA
lcs
September 27,