ajaxFileUpload
生活随笔
收集整理的這篇文章主要介紹了
ajaxFileUpload
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
為什么80%的碼農都做不了架構師?>>> ??
由于ajaxfileupload的版本很早就不更新了,ajaxfileupload采用的jquery是1.2版本,如果大家引入了jquery?版本比較高,可能會出現jQuery.handleError is not a function錯誤。
解決方法:
將以下代碼復制到ajaxfileupload文件中:
?
handleError: function( s, xhr, status, e ) {// If a local callback was specified, fire itif ( s.error ) {s.error.call( s.context || s, xhr, status, e );}// Fire the global callbackif ( s.global ) {(s.context ? jQuery(s.context) : jQuery.event).trigger( "ajaxError", [xhr, s, e] );} },?
?
轉載于:https://my.oschina.net/kezhen/blog/1577139
總結
以上是生活随笔為你收集整理的ajaxFileUpload的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 4.信号与传输介质
- 下一篇: 傻瓜式Linux之一:系统安装