//Clear file input with jQuery $("#fileInputId").val(null); //Clear file input with JavaScript document.getElementById("fileInputId").value = null
if ($('#videoUploadFile').get(0).files.length === 0) { console.log("No files selected."); }