empty_input_filepath node.js code example Example: javascript clear file input document.getElementById("myFileInputID").value = null;