|
Posted by Jonathan N. Little on 10/01/05 23:20
Jukka K. Korpela wrote:
> strutsng@gmail.com wrote:
>
>
>>Yes, if I use <input type="file">, I couldn't select a folder as input,
To OP, that's because if I am not mistaken the purpose of the file field
it select a file for upload, not a folder of files.
>
> You could, in a system that treats a folder as a file. So what?
And which system is that? In DOS, Windows and Linux the directory is
just a file on the filesystem with a special directory attribute, right?
Still cannot select the folders with the file input browse dialog...
>>I can only select a single file as input.
>
>
> That's a common flaw in browsers (Opera being the most notable exception),
> but that's completely different.
Is this new for Opera? The 7.54 version that I have on W2K for testing
cannot select more than one file. Anyway isn't the browse box, at least
on Windows, the OS's common 'file open' dialog and not part of the
browser? (Just checked on Linux, it is not the same, but Windows it
certainly is!)
>>So there is no solution to
>>select a folder as input?
>
>
> In a system that treats a folder as a file, there is.
>
>
>>please advise more... thanks!!
>
>
> Analyze what your problem really is (what is it that you are actually
> trying to accomplish), explain it in plain English, and select the most
> appropriate group. (Crossposting is an almost sure sign of not having
> analyzed your problem.)
>
To OP, You could use the file input field to browse and select each
file, and then use JavaScript to append each section to a list or array.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|