This is my code.
$(".input_text").keydown(function (e) {
let char = e.key;
if(char == "A"){
//my code
}
});
This code works perfect for computers, but when I test it with my mobile phone it's not working. When I alert char I got 'undefined'. I tried many solutions form net but unfortunately didn't work