Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

File Queue

Posted on 2013-11-18
1
Medium Priority
?
219 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

824 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