zoukankan      html  css  js  c++  java
  • ajaxfileupload踩过的坑

    首先ajaxfileupload-jQuery.handleError is not a function这个错误,百度之后发现解决办法就是把

    handleError: function( s, xhr, status, e )         {
        // If a local callback was specified, fire it
            if ( s.error ) {
                s.error.call( s.context || s, xhr, status, e );
            }

            // Fire the global callback
            if ( s.global ) {
                (s.context ? jQuery(s.context) : jQuery.event).trigger( "ajaxError", [xhr, s, e] );
            }
        },

    添加到ajaxfileupload.js里。然后一切看似完美了,但是我并没有获取到返回值。找了n久解决办法,然后看了看我的js再看看网上各路大神po的js。发现了有个小小的不同。

    红框里的是我注释掉的,真是吐血,想问自己到底是哪里找来的坑爹js。

    还是要感谢一下万能的互联网

  • 相关阅读:
    tiled工具使用
    shan
    随笔
    潘大神又一篇
    潘大神的文章
    最近用到这个强大的工具 PhysicsEditor (转)
    为什么要写博客?
    nyoj 998
    欧拉函数
    背包问题
  • 原文地址:https://www.cnblogs.com/fufufu/p/6187288.html
Copyright © 2011-2022 走看看