You can do this by connecting to the add event. There you do not allow the bootloader to execute its default behavior. Jquery-file-upload-docs explain this, but it's a little hard to find.
The blueimp biker download tutorial says:
$(function () { $('#fileupload').fileupload({ dataType: 'json', add: function (e, data) { data.context = $('<button/>').text('Upload') .appendTo(document.body) .click(function () { data.context = $('<p/>').text('Uploading...').replaceAll($(this)); data.submit(); }); }, done: function (e, data) { data.context.text('Upload finished.'); } }); });
In fact, itβs very important that the submit button you create is not inside the form.
source share