title: How to programmatically close select file dialog
body: <p>I have a input field with the <code>type=file</code> to select an image file but what I want is that if someone opens the file selector dialog and on some particular event it automatically / programmatically closes the dialog without hitting the cancel button by the user. Is there any way to do it with js/jquery?</p>