javascript copy input file and get full file path
My first question is: - is it possible to copy from 1 file input data to another file input data? what i m开发者_JAVA百科ean is:
I have this input : <input type="file" name="fileinput1" />
Now I want to take what the user browse and copy the data to
<input type="file" name="fileinput2" />
Is that possible?
Second question, I have this element on my HTML input multiple="multiple"
it let me choose few files. Now I can see in the bottom that the names are getting together like this:
"img1" "img2" "img3" "img4"
Is there any way to separate this into few inputs? Like to write inputs with JavaScript and with the path to everyone of them, is that possible?
is it possible to copy from 1 file input data to another file input data?
No. File inputs are read only.
is there any way to separate this into few inputs?
No.
精彩评论