This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: 641

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: 63351

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: 15385
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
It's not a secret anymore!