Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre><code> $(input).fileupload( url : '...' ,dataType : 'json' ,sequentialUploads : true ,add : function (e,data) { $.each(data.files,function(i,file){ file.jqXHR = data.submit() .success(function (result, textStatus, jqXHR) {/* ... */}) .error(function (jqXHR, textStatus, errorThrown) { }) .complete(function (result, textStatus, jqXHR) { //... }); }); } ,done: function (e, data) { console.log(data); } }); </code></pre> <p>works perfectly for me; </p> <p>differences are </p> <ul> <li><p>the url is set (i hope you just forgot to put it in your snippet here); </p></li> <li><p>the way i add file to the download queue</p></li> <li><p>sequential upload (?)</p></li> </ul> <p>edit : </p> <blockquote> <p>The jQuery File Upload plugin makes use of jQuery.ajax() for the file upload requests. This is true even for browsers without support for XHR, thanks to the Iframe Transport plugin.</p> <p>The options set for the File Upload plugin are passed to jQuery.ajax() and allow to define any ajax settings or callbacks. The ajax options processData, contentType and cache are set to false for the file uploads to work and should not be changed.</p> </blockquote> <p><a href="https://github.com/blueimp/jQuery-File-Upload/wiki/Options" rel="nofollow">https://github.com/blueimp/jQuery-File-Upload/wiki/Options</a></p> <p>somewhere in your code you could have also changed those ajax settings; anyhow that says that if you have your settings right since it's making use of $.ajax the done cannot be not triggered </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.
    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