I try like this and its not working on iphone
$(document).bind('touchstart',function(){ alert('hello'); });
but it works like this:
document.addEventListener('touchstart', function(){ alert('hello'); }, false);
how to get touchstart event working with jquery?
Work with the
$(document).on('touchstart', function(e){
but getting the e.touches error is not an object
jquery
coure2011
source share