How to pass value from one input type="file" to another input type="file"?

Brief description: there is a little problem, when selecting kartinov in Input - e them to display. And if the user inadvertently selected no, he would have to remove it. It's already been decided.
If the user put 2 pictures then decide another, then input its value will be one picture. Decided to record a value in a separate input. Copying intohow to have a value I don't polhoda, as will the ability to delete images. If you have ideas for better can predloziti.
July 2nd 19 at 17:07
2 answers
July 2nd 19 at 17:09
JS can't change the value <input type="file">. This is security policy in all browsers. Otherwise, one would js scripts to steal any file from your computer.
July 2nd 19 at 17:11

Find more questions by tags jQueryHTMLJavaScript