This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Multiple File Selector" Watch "Multiple File Selector" New topic
Author

Multiple File Selector

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 614
Hi,

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.

-p


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

Joined: Jan 10, 2002
Posts: 60810
    
  65

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
author
Rancher

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

Eric
 
Don't get me started about those stupid light bulbs.
 
subject: Multiple File Selector
 
Similar Threads
Uploading multiple files
Want a suggestion regarding upload and save in database using struts 2.0
adding an api to eclipse
Allow users to desect from SELECT?
how to use one user input in two forms?