bigwavesoftware bigwavesoftware - 3 months ago 5x
jQuery Question

Global start/end events for jquery file upload

I am reading through the documentation for jQuery file upload (API options), and there don't appear to be events that signify "I am starting", and "I am done". There are start and stop, but those are called for each file upload that is performed.

Does anyone know of an event that I am just not seeing, or have a suggestion for how to emulate the global start/stop operation?


You can use progressall:

function (e, data) {
    var progress = parseInt(data.loaded /, 10);
    if( progress === 1) {
        //done :)