I have an iframe on my site, in the iframe I put a button to trigger the
<input type="file">
These are the elements:
button id="click"
input type="file" id = "file"
This is the script code:
$("#click").click(function() {
$('#file').trigger('click');
});
I also replace the .trigger
into .click();
but nothing happens