I was working on a project and found that the input file change event was not working, whenever I select a file on the second or third times but if I was selecting the file the first time then it was working fine.
Why Input File change event not working issue occurs?
How to fix Input File change event not working issue?
<form enctype='multipart/form-data'> <input onchange="alert(this.value); this.value=null;" type='file'> </form>
Note: I have tested this code on latest IE, Chrome and Firefox.