0

I want to clear data from the input file multiple field every time I drop or select files, because when I choose files again, the old files are still there.

<input type="file" name="files" multiple />
urbmake
  • 7
  • 1
  • 7

1 Answers1

0

Add class (something like "toEmpty") to your inputs and clear them on specific acction (button click or whatever) with $("toEmpty").val("");

Nomeaning25
  • 263
  • 1
  • 10