How to clear a file input using jQuery?
var input = $("#control");
function something_happens() {
input.replaceWith(input.val('').clone(true));
};
Tags: How to clear a file input using jQuery
by Subbu · Published August 21, 2013
by Subbu · Published September 10, 2013
by Subbu · Published July 4, 2013 · Last modified August 25, 2025
More