How to detect html elements on touchmove
问题 I've a series of list items. On an iphone (touch device), as a user touches and moves his finger across the screen, I want to capture all the html li elements that he has touched. So how do I get that? Say I want to get all the ids of those elements and alert is when the touch ends. I tried with jQuery Mobile with "swipe' event but only the first one to be touched, that too if the 'touch' starts from that particular element shows up. 回答1: Not sure if this will work on a mobile device unless