EnterToClick
//do postback on press of "enter key"
function EnterToClick(ctrId, e, arg)
{
var keyCode = (e.keyCode) ? e.keyCode : e.which;
if(keyCode == 13)
{
__doPostBack(ctrId, arg);
}
}
onkeydown="javascript:EnterToClick('<%=imgbtnLoginNow.UniqueID %>', event, 'Login Now');"
function EnterToClick(ctrId, e, arg)
{
var keyCode = (e.keyCode) ? e.keyCode : e.which;
if(keyCode == 13)
{
__doPostBack(ctrId, arg);
}
}
onkeydown="javascript:EnterToClick('<%=imgbtnLoginNow.UniqueID %>', event, 'Login Now');"
Comments
Post a Comment