Answer the question
In order to leave comments, you need to log in
How to find out the pressed letter?
I'm trying to catch the symbol in this way (see below) browsers work out with a bang, safari in the iPhone too, but the android says undefined, I need the symbol itself and not the symbol ID
<input id="aaa" type="text" />
$( '#aaa' ).keypress( function( event ) {
var this_symbol = event.key;
alert( this_symbol );
});
Answer the question
In order to leave comments, you need to log in
Try event.char
https://developer.mozilla.org/en-US/docs/Web/Event...
keycode.info
Look at this example, it might help. Both the button and the symbol are tracked here.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question