KeyUp event is not working on mobile app
Why keyup event is not working on mobile app
But it's perfectly working on website.
I'm using this
var asci = e.which || e.keyCode;
@martinbean
My search API is not calling when I press any character
And whenever I type anything in searchbar from mobile keyboard I got 229 asci value
From this code
asci = e.which || e.keyCode;
Some time ago I saw a similar post and I believe keydown worked for them.
@jlrdw Thanks for response, I'll try
I got 229 asci value from above code when I type anything.
@jlrdw keydown and keypress event is also not working
Instead of event.keycode try to use:
event.key, event.which or event.target.value.splice(-1)
Add console log to check which value they contain.
@gych I'll try nut how can i check console in mobile app
Please or to participate in this conversation.