Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple File Selector

 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most of the controls that you see on the net that do this are Flash, Java [applet], or ActivX based.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic