Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery empty file input

//Clear file input with jQuery
$("#fileInputId").val(null);

//Clear file input with JavaScript
document.getElementById("fileInputId").value = null
 
PREVIOUS NEXT
Tagged: #jquery #empty #file #input
ADD COMMENT
Topic
Name
3+6 =