jquery file upload报错:Cannot call method 'parseMetaData' of undefined
来源:互联网 发布:谁有呼死你软件免费版 编辑:程序博客网 时间:2024/06/05 02:59
本周在做一个用jquery file upload插件上传文件的功能,其中有上传图片的内容,但是打开页面发现浏览器控制台报错:
Uncaught TypeError: Cannot call method 'parseMetaData' of undefined
应该是没有定义这个方法所致,原因就是没有引用定义这个方法的js文件,然后百度了一下,没有这条报错信息的搜索结果。然后谷歌了一下,一下子就找到了:
从这两个老外的对话看,确实是没有引用特定的js文件。然后从 http://blueimp.github.io/JavaScript-Load-Image/js/load-image.min.js 下载到load-image.min.js并引用就不报错了,并且,这个引用要放在jquery.fileupload.js之前。
<script type="text/javascript" src="js/lib/jquery/load-image.min.js"></script>
0 0
- jquery file upload报错:Cannot call method 'parseMetaData' of undefined
- jquery file upload报错:Cannot read property 'parseMetaData' of undefined
- jquery file upload报错:Uncaught TypeError: Cannot call method 'unshift' of undefined
- jquery file upload 报错:Cannot read property 'nodeName' of undefined
- jquery file upload 报错:Cannot read property 'fileupload' of undefined
- jQuery UI Slider - Cannot call method 'addClass' of undefined
- Cannot call method 'indexOf' of undefined
- cannot call method foreach of undefined问题
- Uncaught TypeError: Cannot call method 'substring' of undefined
- Extjs4---Uncaught TypeError: Cannot call method 'apply' of undefined
- Extjs4---Uncaught TypeError: Cannot call method 'substring' of undefined
- Extjs4---Uncaught TypeError: Cannot call method 'hasOwnProperty' of undefined
- Uncaught TypeError: Cannot call method 'substring' of undefined
- Uncaught TypeError: Cannot call method 'replace' of undefined 的解决
- Uncaught TypeError: Cannot call method 'substring' of undefined
- Extjs4---Uncaught TypeError: Cannot call method 'hasOwnProperty' of undefined
- Cannot-call-method substring of undefined sencha-touch-all.js
- JsBridge "Uncaught TypeError: Cannot call method 'callHandler' of undefined", source
- mysql常见约束篇
- 清除输入缓冲区
- another brownian motion - analysis
- ppt转pdf转换器绿色版效果如何
- 搞明白OAuth 2.0是啥
- jquery file upload报错:Cannot call method 'parseMetaData' of undefined
- Oracle树查询
- C语言fgets函数了解
- ios知识点总结——富文本实现图文混排
- JAVA基本配置
- HDU1203 I NEED A OFFER! (dp)
- 仿IOS桌面图标右上角显示消息数目,或日历更新日期原理
- SimpleAdapter中ViewBinder 使用
- Struts HTML 标签库