开发者

Android browser Javascript onclick event not receiving callbacks

I have a web application that has to be run on Android.

There are images on the web page that have 开发者_C百科onClick event listener (Javascript).

For some reason, the onClick event works only after A LOT of touches on the image.

Does anyone know how to fix this problem?


I fixed it using onTouchStart event instead of onClick event.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜