搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Why your browser doesn't work press enter key in textboxs.

  • 2 个回答
  • 4 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

$('#txtIlcArama').keydown(function () {

  if (event.keyCode == 13) { 
     GetUrunler(0, 0); 
  } 

});

event.keyCode working all browser but it isn't working at your browser.

$('#txtIlcArama').keydown(function () { if (event.keyCode == 13) { GetUrunler(0, 0); } }); event.keyCode working all browser but it isn't working at your browser.

被采纳的解决方案

Does it help if you include the event parameter?

$('#txtIlcArama').keydown(function (event) { 
   if (event.keyCode == 13) { 
      GetUrunler(0, 0); 
   } 
});
定位到答案原位置 👍 1

所有回复 (2)

more options

I am sorry to hear that the code is not working. Please first consider checking out stackoverflow.com for this question since it required developer knowledge.

more options

选择的解决方案

Does it help if you include the event parameter?

$('#txtIlcArama').keydown(function (event) { 
   if (event.keyCode == 13) { 
      GetUrunler(0, 0); 
   } 
});