I\'m experimenting with Blueimp\'s jQuery-File-Upload plugin, which judging by the demo looks very promising.
It\'s really easy to implement:
var $up
If the add event is defined, all the process callbacks will not fire.
$(function(){
var fileupload=$('#fileupload').fileupload({
url: 'fileupload.php',
dataType: 'json',
add: function(e, data) {
data.submit();
},
})
.on('fileuploadprocessalways', function (e, data) {
//Won't be triggered if add callback is defined
})
});