0

To choose the file type there is a Certain input

<input type="file" id="theFile" />

but I do not want to choose the file, I want to choose a folder from the I?

Vanessa
  • 27
  • 6

2 Answers2

1

That's simply not possible. You can only choose files, but not folders (all files in a folder is fine though).

To select multiple files, use multiple:

<input type="file" name="whatever" multiple>
ThiefMaster
  • 310,957
  • 84
  • 592
  • 636
  • grateful for the help ^ ^ but how would I take the array with the addresses of the images I would like to open the window and retrieve the images without using an input – Vanessa Jan 27 '14 at 22:26
0

The 'file' input type is for just-as-it-reads -- selecting a FILE, not a DIRECTORY.

Xavier J
  • 4,326
  • 1
  • 14
  • 25