Why your browser doesn't work press enter key in textboxs.
$('#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.
Wybrane rozwiązanie
Does it help if you include the event parameter?
$('#txtIlcArama').keydown(function (event) { if (event.keyCode == 13) { GetUrunler(0, 0); } });Przeczytaj tę odpowiedź w całym kontekście 👍 1
Wszystkie odpowiedzi (2)
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.
Wybrane rozwiązanie
Does it help if you include the event parameter?
$('#txtIlcArama').keydown(function (event) { if (event.keyCode == 13) { GetUrunler(0, 0); } });