Uncaught TypeError: Cannot set property 'mobile' of undefined
来源:互联网 发布:国有企业发展 知乎 编辑:程序博客网 时间:2024/05/29 08:30
错误:
Uncaught TypeError: Cannot set property 'mobile' of undefined at jquery.mobile-1.4.5.js:26 at jquery.mobile-1.4.5.js:26 at jquery.mobile-1.4.5.js:22 at jquery.mobile-1.4.5.js:22
原因:
未导入jquery包
改正:
在代码
<script src="tool/jQuery/mobile/jquery.mobile-1.4.5.min.js"></script>
前面加上
<script src="tool/jQuery/jquery-2.0.0.min.js"></script>
必须在导入jquery.mobile-1.4.5.min.js之前导入jquery-2.0.0.min.js,否则影响浏览器对jquery的使用。
阅读全文
0 0
- Uncaught TypeError: Cannot set property 'mobile' of undefined
- jquery.mobile-1.4.5.min.js:3 Uncaught TypeError: Cannot set property 'mobile' of undefined
- Uncaught TypeError: Cannot set property 'applyDefaults' of undefined
- TypeError: Cannot set property 'user' of undefined
- Uncaught TypeError: Cannot set property '0' of undefined 关于JavaScript多维数组
- 【JavaScript】页面加载 解决Uncaught TypeError: Cannot set property of undefined at
- Extjs4---Uncaught TypeError: Cannot read property ‘items’ of undefined
- 【StackFlow】Uncaught TypeError: Cannot read property 'pageCount' of undefined
- Ckeditor: Uncaught TypeError: Cannot read property 'keyCode' of undefined 解决方法
- Uncaught TypeError: Cannot read property 'msie' of undefined问题解决方案
- Uncaught TypeError: Cannot read property 'options' of undefined 错误
- Uncaught TypeError: Cannot read property 'length' of undefined
- 错误:Uncaught TypeError: Cannot read property 'WebSocket' of undefined
- Uncaught TypeError: Cannot read property 'value' of undefined
- Uncaught TypeError: Cannot read property 'plugin' of undefined
- react Uncaught TypeError: Cannot read property 'title' of undefined
- Uncaught TypeError: Cannot read property 'width' of undefined
- Uncaught TypeError: Cannot read property 'substring' of undefined
- 指针遍历字符
- dango error:DisallowedHost: Invalid HTTP_HOST header: ''. You may need to add u'' to ALLOWED_HOST
- solr-6.6.0window环境搭建
- 习题8-5 使用函数实现字符串部分复制
- 流程控制
- Uncaught TypeError: Cannot set property 'mobile' of undefined
- 方便简单的远程控制:putty和WinSCP
- @controlleradvice注解不起作用
- C++默默编写并调用了哪些函数
- 晋晨瑞
- centos apache 使用 mod_proxy_fcgi 支持多版本 php
- javascript检测是否为数字
- Codeforces 808D 数组分割
- 面试题23:从上往下打印二叉树