I\'m having a few issues getting a keyup event to fire on my iPhone, my code is as follows:
var passwordArray = [\"word\", \"test\", \"hello\", \"ano
The touchend event is fired when a touch point is removed from the device.
https://developer.mozilla.org/en-US/docs/Web/Events/touchend
You can pass keyup and touchend events into the .on() jQuery method (instead of the keyup() method) to trigger your code on both of these events.
test.on('keyup touchend', function(){
//code
});