There is an HTML code:
<form> <input id="f_fileDoc" name="fileDoc" type="file"/> </form> And JavaScript + jQuery :
$("#f_fileDoc").change(function () { var fileName = $(this).val(); alert(fileName); }); It works only if the next file selected is not the same as the previous one. I would like to make some bugfix with multiple identical choice.