I am having difficulty catching which character the user pressed when using smartphone with ANDROID / IPHONE. I use the jquery keyup event, but the answer is always undefined or 229.
Does anyone know how to solve this?
The code I'm using:
$('#campo-valor').on('keyup', function(event) {
console.log(event.which);
}