I have been using the Javascript events touchstart and touchmove on iOS. The documentation specify that instances of the TouchEvent object should have arrays of Touches stored in TouchEvent.touches, TouchEvent.targetTouches, TouchEvent.changedTouches...
On iOS, it seems that this isn't the case. For instance, this piece of code, when a touchmove events happens, shows an alert box containing 'undefined':
$('input[range]').bind('touchmove', function(event) {
alert(typeof event.touches);
});
Though the event is properly handled, the object passed as a parameter doesn't fit the W3C documentation (http://www.w3.org/TR/touch-events/), not even Apple's own documentation (https://developer.apple.com/library/ios/documentation/appleapplications/reference/safariwebcontent/HandlingEvents/HandlingEvents.html).
Why is that ? How is that ? How do I get the details for my touch events ?