Solved

File Queue

Posted on 2013-11-18
1
194 Views
Last Modified: 2013-12-05
Im trying to make my own uploadify, and getting quite far. My only todo task left is being able to add to the queue.

Currently I have:-
<input type="file" name="upfile_0" id="upfile_0" multiple="multiple" />

Open in new window


Which works great, however if the user tries to select another file it clear the old selection.

Is there anyway to add to the queue (and even better being able to remove from the queue)?

Does anyone have any ideas on where to go from here?

Thank you
0
Comment
Question by:tonelm54
1 Comment
 
LVL 30

Accepted Solution

by:
Alexandre Simões earned 500 total points
ID: 39658590
I think an idea would be to add multiple <input type="file" /> elements, one per file, even if they are added in groups.
For that you just have to use the "files" property of the input and in javascript loop through all of them generating a <input type="file" /> for each one.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Angular - example works but my data is different 13 26
ASP.NET gridview select textbox on focus 2 35
How to convert from xls to xlsx using java 7 39
where is team.js? 3 25
Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question