I\'m making a web app and I want to click on an element and handle the click in one long click event handler. I\'m testing in Safari. The following works fine in Safari on m
I found a very simple solution. I put another div about the div element in my sample code (see my question above). The opening div tag is
All divs inside this div tag will now trigger the click event. This also works with touchstart. 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
All divs inside this div tag will now trigger the click event. This also works with touchstart.