I have a listview and what I am trying to do is add a swipe event on the links. For example, if a user swipes the first link it goes to that page. Is this possible with list
Have you tried using binding using live()?
UPDATE: .live() will be deprecated and the correct usage is .on()
It attaches the handler to the event for all current matching elements as well as those that might match later on.
pageCreate() {
$(parent).on('swipe', 'li.rqstpage', function() {
$.mobile.changePage("requests.php", "slide");
}
}
Have you considred using this library for gestures?