SyntaxFix
Write A Post
Hire A Developer
Questions
When you have to reload the file, you can erase the value of input. Next time you add a file, 'on change' event will trigger.
document.getElementById('my_input').value = null; // ^ that just erase the file path but do the trick