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
Post a Comment