ajaxfileupload jQuery has no method handleError错误

  使用ajaxfileupload上传文件时,如果没有反应或者报错

Uncaught TypeError: Object function ( selector, context ) {
// The jQuery object is actually just the init constructor 'enhanced'
return new jQuery.fn.init( selector, context, rootjQuery );
} has no method 'handleError'

对应ajaxfileupload语句jQuery.handleError(s, xml, status, e);

  那么应该是导入的jquery版本高于1.4+了,1.5+jquery重写过ajax部分内容,已经删除handleError这个方法,但是ajaxfileupload还是使用旧版本的jquery,既1.5以下的jquery方法handleError,所以报错。

加支付宝好友偷能量挖...


原创文章,转载请注明出处:ajaxfileupload jQuery has no method handleError错误

评论(0)Web开发网
阅读(538)喜欢(0)JavaScript/Ajax开发技巧