javascript - keyup() event doesn't works on different languages except english on mobile -


i using keyup function in html5 app determine key pressed, , css work. run on mobile device.if press english character works fine, if press russian character or other language, won't event.

in computer's browser(chrome) works fine, bug happens on mobile device...any ideas?

 $('#inputtext').keyup(function () {         if ($(this).val())             //do css     }); 

try this

$("#inputtext").change(function(event) {    if ($(this).val())    {           //do    } }); 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -