Closed RenShine closed 10 years ago
mycode is not working HTML:
js: jQuery(document).ready(function() { var wrap = jQuery('#swipe'); wrap .on('swipeleft', function(e) { alert('ss'); }) .on('swiperight',function(e){ alert('fff'); }); })
Well, it looks correct, so I suspect something else is wrong. Have you included the dependency jquery.event.move? Are you sure that's the correct id?
mycode is not working
HTML:
js: jQuery(document).ready(function() { var wrap = jQuery('#swipe'); wrap .on('swipeleft', function(e) { alert('ss'); }) .on('swiperight',function(e){ alert('fff'); }); })