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

php - cannot display multiple markers in google maps v3 from traceroute result -

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

javascript - firefox memory leak -