HTML: <form> <div id='fileContainer'><input type='file'></div> <input type='button' value='Очистить' onclick='o=document.getElementById("fileContainer");o.innerHTML=o.innerHTML'> </form>