asyncfileupload

HTML5 multiple file upload: upload one by one through AJAX

本秂侑毒 提交于 2019-11-27 09:21:59
问题 I have a multiple files upload form: <input type="file" name="files" multiple /> I am posting these files with ajax. I would like to upload the selected files one by one (to create individual progress bars, and out of curiousity). I can get the list of files or individual files by FL = form.find('[type="file"]')[0].files F = form.find('[type="file"]')[0].files[0] yieling FileList { 0=File, 1=File, length=2 } File { size=177676, type="image/jpeg", name="img.jpg", more...} But FileList is