YunFanChen
YunFanChen
  • 发布:2015-11-09 16:57
  • 更新:2015-11-09 16:59
  • 阅读:2185

移动端web页面使用“click”无效,跪求大侠指导

分类:Native.js

var enter=document.getElementById("enter");
enter.addEventListener('click', function(){
if(nickname.value.length==0){
plus.nativeUI.toast("您的昵称不能为空!");
return;

2015-11-09 16:57 负责人:无 分享
已邀请:
YunFanChen

YunFanChen (作者)

为了解决tap的问题,需要在AddEventListener里面用TAP代替
mui("#id")[0].addEventListener(TAP, function(){ ))

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