SyntaxFix
Write A Post
Hire A Developer
Questions
Shorter version that works perfect for me that is as follow:
version
document.querySelector('#fileUpload').value = "";