The question is about $("#id").click(); when document loads. *** here I don't want to assign or attach a .on("click") but actually clicking the input...
Goal, when user arrive to upload section, open the input file right away (reducing steps for the user to send images, videos, etc)
I have this code
<input type="file" ... id="input_ID" >
<script> $( document ).ready(function() { $("#input_ID").click(); }); </script>
console log says something about file chooser dialog can only be shown with a user action...
is there a way to do the .click on page load ??
Regards