How do I call a JavaScript function after selecting a file from the Select File window and closing it? May 28, 2023 by Tarik jQuery("input#fileid").change(function () { alert(jQuery(this).val()) });