l***@163.com
l***@163.com
  • 发布:2018-11-01 10:19
  • 更新:2018-11-01 10:19
  • 阅读:1126

button disabled 还可能执行

分类:MUI

<button type="button" class="mui-btn" id="goGame" disabled="disabled">立即开始</button>
document.getElementById("goGame").addEventListener("tap",function(){
mui.openWindow({
url:"redEnvelopeGame.html",
id:"redEnvelopeGame.html"
})
})
为啥我的这个button 监听的tap事件多次点击后还会执行(就是一直点,不指定哪次就执行了)

2018-11-01 10:19 1 条评论 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复