stevenLuo
stevenLuo
  • 发布:2015-01-26 15:38
  • 更新:2015-01-26 15:53
  • 阅读:1189

关于界面切换问题

分类:MUI
document.getElementById('school').addEventListener('tap', function() {  
     mui.openWindow({  
         url: 'info.html',   
         id:'info'  
    });  
});

这样怎么不能打开新页面呢?

2015-01-26 15:38 负责人:无 分享
已邀请:
踩着单车载着猪

踩着单车载着猪

这是没有道理的...- -
看看是否mui.js没引入

  • stevenLuo (作者)

    引入了啊

    2015-01-26 15:47

stevenLuo

stevenLuo (作者)

踩着单车载着猪

踩着单车载着猪

js执行顺序问题...
script放在页面最底部就可以了..

  • stevenLuo (作者)

    果然,非常感谢

    2015-01-26 16:01

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