I have a page where there is an input file. In this page there also is an iframe that contains another input file.
So, when the input file in main page changes, I want that the input file inside iframe also changes its value to the value of external input file.
But it doesn't work, i use this code in main page:
$('#iframe').contents().find('#input_file').val(myvalue);
The value of #input_file
file remains empty. What could be the problem