There are 2 inputs:

<input type="file" id="first-input>" <input type="file" id="second-input>" 

When a file is selected in first-input, it must be inserted into second-input. How can this be done? Those.:

 $('#first-input').change(function(){ var file = $(this)[0].files[0]; //Как его вставить? }); 
  • None (7 characters needed ...) - Igor

1 answer 1

No <input type="file"> read-only and nothing can be inserted into it.