Answers for "remove image Input of element"

6

jquery clear file input

//clear a file input with jQuery 
$("#myFileInputID").val(null);

//clear file input in plain Javascript
document.getElementById("myFileInputID").value = null;
Posted by: Guest on August-01-2019
0

remove image Input of element

//clear a file input with jQuery 
$("#myFileInputID").val(null);

//clear file input in plain Javascript
document.getElementById("myFileInputID").value = null;
Posted by: Guest on September-29-2021

Code answers related to "remove image Input of element"

Code answers related to "Javascript"

Browse Popular Code Answers by Language