Note that there are some explanatory texts on larger screens.

plurals
  1. POblueimp jquery file upload - "done", "complete" callbacks not working for IE 9
    primarykey
    data
    text
    <p>I am using <a href="https://github.com/blueimp/jQuery-File-Upload/">Blueimp Jquery File Upload</a> plugin to upload files asynchronously. It works well in most other browsers (with a few minor issues) - on IE, I see this issue that the "done", "stop", "always", "complete" and some other event callbacks are not getting invoked. </p> <p>While debugging, I added console.logs in the "done", "fail", "always", and added a "complete" method to the ajax request in the _onSend function (in jquery.fileupload.js) - but none of them seem to get invoked in IE. </p> <pre><code>_onSend: function (e, data) { var that = this, jqXHR, slot, pipe, options = that._getAJAXSettings(data), send = function (resolve, args) { that._sending += 1; jqXHR = jqXHR || ( (resolve !== false &amp;&amp; that._trigger('send', e, options) !== false &amp;&amp; (that._chunkedUpload(options) || $.ajax(options))) || that._getXHRPromise(false, options.context, args) ).complete(function (result, textStatus, jqXHR) { console.log("complete"); }).done(function (result, textStatus, jqXHR) { console.log("done", result); }).fail(function (jqXHR, textStatus, errorThrown) { console.log("fail", result); }).always(function (a1, a2, a3) { console.log("done", result); } }); return jqXHR; }; </code></pre> <p>[plugin code trimmed for readability] </p> <p>I understand that in IE 9, jquery.iframe-transport.js used for the file upload (as XHR file uploads are not supported in IE). </p> <p>I'm not sure how I should go about fixing/ debugging this issue. </p> <p>Thanks! </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload