Answers for "clear file upload jquery"

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

clear file upload jquery

var input = $("#fileInput");

    function clearInput() {
        input = input.val('').clone(true);
    };
Posted by: Guest on August-19-2021

Code answers related to "clear file upload jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language