Skip to content
Advertisement

Why file input change does not work repeatly?

I have the following code:

JavaScript

And handler:

JavaScript

Problem is when I try to select the same file, selected before, input does not chnaged and dont send event: e: FileList

Advertisement

Answer

You need to reset the input file value when pressing the input file button.

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement