Solved

File Queue

Posted on 2013-11-18
1
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

739 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