You need to fool a little, I made a working example for you: http://jsfiddle.net/Gajotres/STLWn/
$(document).on('vmousedown', function(event){ holdCords.holdX = event.pageX; holdCords.holdY = event.pageY; }); $(document).on('taphold', function(e){ alert('X: ' + holdCords.holdX + ' Y: ' + holdCords.holdY ); }); var holdCords = { holdX : 0, holdY : 0 }
Tested on Firefox desktop, Android 4.1.1 Chrome and iPad 6.0
source share