I have been developing a mobile website using jQuery mobile.
This website have a carousel slide show, which should work with swipe left and swipe right events.
Interestingly, I found that, swipeleft and swiperight events are triggering multiple times. And this results in an unpredicted behaviors on the carousel slide show.To prevent the this multiple event firing, I used the jQuery method stopImmediatePropagation();
My final code looks like