Search code examples
jqueryfile-uploadasynchronoussubmitblueimp

How can i get to do this jquery submit synchronous?


This is the submit. I need the result of operation, but this is async.... form.data(); contains data for the upload. i'm using blueimp JQuery File upload...

thanks....

$('#formFileupload').data().submit();

Solution

  • use sequentialUploads:

    $('#fileupload').fileupload({
             ........
             sequentialUploads: true,
             .......
             .......
    })