jquery file upload - IE done callback data.result issue

后端 未结 8 742
借酒劲吻你
借酒劲吻你 2020-12-01 05:41

I\'m using jQuery file upload plugin.

I don\'t use the UI part, only basic one.

When I do the following, I\'m having an issue in

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-01 06:12

    I believe issue can be in server response, you can make sure that server always send correct heading by using following code:

    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
    header("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache");
    header("Content-type: text/x-json");
    echo json_encode($array);
    exit(0);
    

提交回复
热议问题