0
I am with a personal question, how do I use input file Multiple from Html5 make it select two files as follows: the user selects the first file after the dialog is closed when the file is selected so he selects another file(opening the input file dialog) of another directory hence the incremental input file resulting in two files.
I have tried but my input always replaces the previous one, someone can tell me a way to select two different directory files?
I think (I think) that this is impossible. Input files, as far as I know, are read only, so there is no way to insert or take anything from them. What you can do is just create or delete. To do something like this, you would have to create some trick that SIMULATES this.
– Sam
@I don’t think you don’t understand, I don’t want to change the input I just told you what it does when you select two files. The case is, do you have the possibility to select two files from different directories ? Because I have an example of another third-party code that he does it but I can’t get it out of you
– Jacob de Oliveira
i can for example in this example of the site http://hayageek.com/docs/jquery-upload-file.php select two different directory files
– Jacob de Oliveira
not in a different folder, the two files are in different folder
– Jacob de Oliveira
I asked if you want to select 2 files in different folders using the same dialog.
– Sam
You can do it?
– Jacob de Oliveira
Then, see on this site here http://hayageek.com/docs/jquery-upload-file.php he can select more files even closing the dialog in Multiple mode
– Jacob de Oliveira
It must look something like this https://jsfiddle.net/dz362qq7/ .. keeps adding files and then grabbing them all as Array in PHP.
– Sam
was cool is very similar to idea , but how do I submit the selected
– Jacob de Oliveira
why items do not appear selected in input file
– Jacob de Oliveira
Those who have been selected are hidden
– Sam
to submit, just submit the form normally
– Sam
Got it I’ll try here
– Jacob de Oliveira