我也遇到了同样的问题,怎么解决啊?

解决方案 »

  1.   

    解决了么?回调函数up是什么啊?
      

  2.   

    我是写入数据库后,再去数据库读的
      

  3.   

    看了一下源码,里面有个方法是有获取response的:
    up.trigger('FileUploaded', file, {
    response : xhr.responseText,
    status : xhr.status,
    responseHeaders: xhr.getAllResponseHeaders()
    });
    所以可以在前台通过'FileUploaded'方法取得上传完之后的响应信息,对应的在你的后台代码中要返回相关响应信息,如:
    init : {
    FileUploaded:function(up,file,result){
    alert(result.response);
    }
    }
    这样就可以了。