This repository was archived by the owner on May 25, 2023. It is now read-only.

Description
Hi, I´m trying to implement your plugIn but I can´t make progressbar work properly with multiple files, I use the following code:
buildUploadRow: function (files, index) {
var file = files[index];
return $(
'' +
'' + file.name + ' - '+ Math.round(file.size/1024) +'kb - </td>' +
'
</td>' +
'' +
'
' +
'
Cancel</span>' +
'</div>' +
'</td>' +
'</tr>'
);
},
onProgress:function (event, files, index, xhr, handler) {
var progress = parseInt(event.loaded / event.total * 100, 10);
$(".ui-progressbar").progressbar({value: progress});
},
When I upload 2 files both files have then same progressbar, I know why this happen, But I don't know, how to select the correct progressbar.
$(".ui-progressbar:eq("+index+")").progressbar({value: progress}); This option didn´t work
Can you help me? Thks.