File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Multiple File Selector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Multiple File Selector" Watch "Multiple File Selector" New topic

Multiple File Selector

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 637

I have written Jquery code to upload file using ajax, but when click on browser button provided by <input type="file"> i can select only one file.

Is there a way to select multiple files on SINGLE click of browse button ?
will be great if Jquery solution.


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61413

Even a library as powerful as jQuery cannot alter the innate behavior of the HTML controls. The file control is limited to selecting a single file.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
Most of the controls that you see on the net that do this are Flash, Java [applet], or ActivX based.

I agree. Here's the link:
subject: Multiple File Selector