就是在您尝试将其与最新版本的jQuery一起使用时。从库上限开始,然后从V
1.5开始,不提倡handleError函数。我通过在我的ajaxfileupload.js文件中添加此函数来解决它。
handleError: function( s, xhr, status, e ) { // If a local callback was specified, fire it if ( s.error ) { s.error.call( s.context || window, xhr, status, e ); } // Fire the global callback if ( s.global ) { (s.context ? jQuery(s.context) : jQuery.event).trigger( "ajaxError", [xhr, s, e] ); }}对我来说很好
另外,如果您尝试在同一页面上使用任何ajaxSubmit(),它将无法正常工作,因此我使用带有axxfileupload的常规表单提交。如果有人可以提供相同的帮助,请告诉我。



