function (e, data) {
                if (e.isDefaultPrevented()) {
                    return false;
                }
                var progress = Math.floor(data.loaded / data.total * 100);
                if (data.context) {
                    data.context.each(function () {
                        $(this).find('.progress')
                            .attr('aria-valuenow', progress)
                            .children().first().css(
                                'width',
                                progress + '%'
                            );
                    });
                }
            }
function (e, data) {
                if (e.isDefaultPrevented()) {
                    return false;
                }
                var progress = Math.floor(data.loaded / data.total * 100);
                if (data.context) {
                    data.context.each(function () {
                        $(this).find('.progress')
                            .attr('aria-valuenow', progress)
                            .children().first().css(
                                'width',
                                progress + '%'
                            );
                    });
                }
            }
function ( e , data ) { if ( e . isDefaultPrevented ( ) ) { return false ; } var progress = Math . floor ( data . loaded / data . total * 100 ) ; if ( data . context ) { data . context . each ( function ( ) { $ ( this ) . find ( '.progress' ) . attr ( 'aria-valuenow' , progress ) . children ( ) . first ( ) . css ( 'width' , progress + '%' ) ; } ) ; } }
Callback for upload progress events:
Callback for upload progress events :
onProgress event