I am binding live events on links in my PhoneGap app. The event does fire successfully (confirmed by alert()
ing), but it seems any touch data is not attached to the event object like it should be. This happens on all touch events - touchstart
, touchmove
, and touchend
.
$('a').live('touchend', function(event) {
event.preventDefault();
alert(event.touches.length); // event.touches should be populated!
});
Any ideas? Am I SOL with jQuery.live()?