How i can use swipeleft and swiperight in JQM 1.3.1?
Hi, i have some problems with the use of swipe in my app .
I have a div :
<div class='box'>Content</div>
I would create some actions when a user swipe left on the element, so i create this simple script:
$( document ).on( "pageinit", function() {
$( document ).on( "swipeleft", ".box", function( ) {
alert($(this).html());
});
});
This is the onlyone script that work for me but when i swipeleft on the element the alert appeare three times? Why?
Thanks for help !