As the touchend event is bind to the element where the touchstart is fired, how can I get the element at the position where the finger leaves, when this is outside of the element where the event was binded to.
As the touchend event is bind to the element where the touchstart is fired,
Share
You could use the
document.elementFromPointmethod, passing it the coordinates of the event:EDIT:
Found some good article about getting elements at specific coordinates.
http://www.zehnet.de/2010/11/19/document-elementfrompoint-a-jquery-solution/