Vote count:
0
I've been struggling to capture keycode values on android with Jquery (most keys just return 0). I therefore thought i'd give the google api a go. Theory being it's from google so should work with android!
After a couple of days of pain I got it working locally and very excitedly published it. With the result that...
It doesn't work on android chrome either! I believe it's for the same reason jquery isn't working. I've added a events listener to fire when a key is pressed but I don't think it's recognising keys being pressed.
My Listener code is
goog.events.listen(docKh, goog.events.KeyHandler.EventType.KEY,
numberInputKeyHandler);
However, when I press a key numberInpufKeyHandler is not firing at all. All suggestions as always welcome.
asked 1 min ago
goog.events.listen not firing on keypress in andoid mobile
Aucun commentaire:
Enregistrer un commentaire