I've gone through the suggested threads but appears this has not been posted before. The closest one is this but it requires to know the coordinates: Detect finger drag using Javascript on touch phones?
Suppose I have 3 <div style='float: left'></div>
pairs:
<div id='Adiv' style='float: left'>A</div>
<div id='Bdiv' style='float: left'>B</div>
<div id='Cdiv' style='float: left'>C</div>
Instead of an onClick event on the divs, I want to detect how the user interacts with the buttons.
For example, if the user places a finger on A, then drags to B then drags to C, I want to output : ABC
And if the user places a finger on B, then drags to A then drags to C without lifting, I want to output : BABC.
Basically I would like to detect if a finger has moved/swiped his finger over a DIV then I would like to know it. Is this even possible?
Thanks for your guidance.
p/s This is for the mobile web browser, btw. Best,