G
gh0st54
what i mean is is it possible to cancel a postback if the visitor
presses the enter key while no text box control, check box control ,
etc ... has the focus
here is the script i'm using
function document.onkeydown()
{
if(event.keyCode ==13){
event.returnvalue=false;
event.cancel =true;
}
}
this still posts back to the server
presses the enter key while no text box control, check box control ,
etc ... has the focus
here is the script i'm using
function document.onkeydown()
{
if(event.keyCode ==13){
event.returnvalue=false;
event.cancel =true;
}
}
this still posts back to the server