Using the jQuery wrapper technique for this question.
Using the autoUpload functionality I need to find out how many total files are going to be uploaded so this count can be used to determine when they're all complete (total files == uploaded files).
There are 2 requests here:
With the
autoUpload
happening, how would I determine how many files are going to be uploaded, and when they have actually begun? This info will be used to both determine the total count, and to also disable buttons when it starts so the user must finish the uploads before moving on. Unless there's a better way?How do I know when the 'n' files have all completed so that my buttons can be enabled again? I do have the
.on('complete')
wired up already, so I think for this part I'm good to go. When the total files = uploadloaded files I think that I could enable the buttons again, etc.
Thanks!