I am using an android phone and when I press any key in my textarea, it looks like that e.keycode does not function properly (It does not return true the keycode value for each key). But it always triggers when I press any key in my textarea.
function d(e) {
var key = (e.keyCode);
if (key == 229) {
alert("hello");
return false;
}
}
<textarea id="msg" onkeyup="d(event)">
</textarea>
NOTE: For testing purposes, use your mobile phone (specifically android phone) to be able to reproduce the problem.