2

I am using ipad to check the function , the problem is doubletap does not work. And I have disable doubletap zoom and touchmove already, How to fix the problem ? thanks

$('#page').bind('tap', function(){
        alert('test');
        }); 

$('#page').bind('doubletap', function(){
        alert('test');
        });


addEventListener('touchmove', function(e) { e.preventDefault(); }, true);

<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0" />
4

1 に答える 1

0

jquery mobile の代わりに jquery mobile events を使用します。できます

于 2012-12-19T06:21:23.837 に答える