This entry was posted on Monday, April 14th, 2008 at 3:54 pm and is filed under ASP.NET, Java Script. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
2 Responses to “mozilla frefox enter button problem in asp.net.”
Hy. I have the same problem with an AnimationExtender Ajax Control and only in ie. The panel is loaded each time I press enter Do you have any ideea for in thi case? Thanks
If the contents are inside an ajax update panel, the ‘button.click()’ might not work sometimes in mozilla. For that, u can call a javascript function in the onkeydown event of textbox and give focus to the appropriate button…
function CheckEnter_Onclick(e)
{
var key;
key=(e.which) ? e.which : e.keyCode;
if(key==13)
{
document.getElementById(”).focus();
}
return true;
}
June 23, 2008 at 11:39 am |
Hy. I have the same problem with an AnimationExtender Ajax Control and only in ie. The panel is loaded each time I press enter Do you have any ideea for in thi case? Thanks
June 26, 2008 at 10:18 am |
If the contents are inside an ajax update panel, the ‘button.click()’ might not work sometimes in mozilla. For that, u can call a javascript function in the onkeydown event of textbox and give focus to the appropriate button…
function CheckEnter_Onclick(e)
{
var key;
key=(e.which) ? e.which : e.keyCode;
if(key==13)
{
document.getElementById(”).focus();
}
return true;
}