I have a file input element
<input type="file" id="fileid">
How do I call a JavaScript function after selecting a file from the dialog window and closing it?
jQuery("input#fileid").change(function () { alert(jQuery(this).val()) });
1.4m articles
1.4m replys
5 comments
57.0k users