2

I need to implement a HTML form for submitting data and uploading multiple small files (number of files can vary from 1 to 30). In HTML5, there is a multiple attribute that allows multiple selection in one file field. I am wondering if it is possible to allow users to add/remove a single file to/from current selection. HTML5 solution is oaky, non-cross-browser solution is okay, as long as it supports Firefox.

2
  • Not sure what you ask.. you want HTML5 solution or "old" HTML/JavaScript solution? Commented Nov 28, 2010 at 9:40
  • @Shadow - HTML5 solution is oaky. Commented Nov 28, 2010 at 10:41

2 Answers 2

1

You might want to use the Multiple File Upload jQuery plugin, which provides that feature on non-HTML5 browsers.

Sign up to request clarification or add additional context in comments.

2 Comments

I tried this plugin. It does not work for file field with multiple attribute. Selecting 30 files one by one is tedious for users.
@powerboy, I see, looks like I misunderstood what you wanted. I'm afraid you won't be able to do that without HTML5, then...
0

Use plupload, it's an easy to use, library-agnostic tool for uploading files. It supports multiple-select, upload queues, pre-upload image resizing and much more.

Internally it uses a number of different runtimes depending on whats available in the browser.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.