<input type="file" name="images[]" id="img" class="nameForm" multiple="true" accept="image/*,image/jpeg"> <iframe name="uploadImg" src="#" id="frameImg"></iframe>
Contents of the frame:
<input type="file" name="images[]" id="imgUpl" class="nameForm" multiple="true" accept="image/*,image/jpeg">
As I try to put data there:
var img = document.getElementById('img').value; $('#imgUpl').attr('value', img.val); alert(img.val);
When an alert issues anfadend.
How can I implement so that the values of one input file can be transferred to another input file? Or is there just reading?