Php file upload
From Federal Burro of Information
http://jsfiddle.net/jonathansampson/dAQVM/
<input type="file" id="control"/> <button id="clear">Clear</button> var control = $("#control"); $("#clear").on("click", function () { control.replaceWith( control = control.clone( true ) ); });
doesn't always work.