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 March 22, 2013 · Last modified May 3, 2013
by Subbu · Published June 20, 2013 · Last modified June 29, 2013
by Subbu · Published September 10, 2013
More