1、终极解决方案
引入fastclick库,添加一句:
FastClick.attach(document.body);
2、用touchend代替tap事件并阻止掉touchend的默认行为preventDefault()
1 $("#cbFinish").on("touchend", function (event) {2 //很多处理比如隐藏什么的3 event.preventDefault();4 });
1、终极解决方案
引入fastclick库,添加一句:
FastClick.attach(document.body);
2、用touchend代替tap事件并阻止掉touchend的默认行为preventDefault()
1 $("#cbFinish").on("touchend", function (event) {2 //很多处理比如隐藏什么的3 event.preventDefault();4 });