Ok thanks!
I have tried a lot of solutions now:
$(‘input[type=text]’).click(function() {
$(‘input[type=file]’).trigger(‘click’);
});
$(‘input[type=file]’).show();
$(‘input[type=file]’).focus();
$(‘input[type=file]’).click();
$(“input[type=file]”).focus().trigger(“click”);
$(“input[type=file]”).focus().click();
$(‘input[type=file]’).onclick();
I have checked that the script is run with a consol.log and also that there is no js errors.
I also read the sugestions here: Is there a way to trigger a picture upload through a button or icon instead of picture uploader?
But nothing works.
I don’t think it’s a simple popup blocker problem.