Is there a way to TouchEndInside in Mobile Safari?
- by Ken Sykora
I'm trying to determine whether a users does a touchupinside in mobile safari for an iPhone web app. So far I've been unsuccessful. touchend event fires regardless of where the touchup event happens on the screen, and I can't seem to discern that the target has changed by anything in the event argument.
Can anyone point me in the right direction on how to capture a touchendinside (vs. touchendoutside) event using javascript?
$('a.arrow').bind('touchend',function(e) {
console.log($(e.srcElement)); //both of these always return the same element
console.log($(e.toElement)); //both of these always return the same element
});