blueimp jquery file upload - “done”, “complete” callbacks not working for IE 9

前端 未结 3 2010
难免孤独
难免孤独 2020-12-17 15:49

I am using Blueimp Jquery File Upload plugin to upload files asynchronously. It works well in most other browsers (with a few minor issues) - on IE, I see this issue that th

3条回答
  •  难免孤独
    2020-12-17 16:37

    The done event gets fired if the content-type of the response is set to "text/html" or "text/plain" (instead of application/json) when json is being returned from the server. This applies only for browsers that do not support XHR file upload (such as IE9) and where the blueimp plugin is using IFrame transport instead.

    Related info under "Content Negotiation" in the plugin documentation: https://github.com/blueimp/jQuery-File-Upload/wiki/Setup

提交回复
热议问题