input file 清空已取舍的文件的方法

input file 清空已选择的文件的方法1.input namef typefileinput typebutton value清空 onclickf.

input file 清空已选择的文件的方法

1.<input name=f type=file><input type=button value=清空 onclick=f.createTextRange().execCommand("delete")>

?

2<input name=f type=file><input type=button value=清空 onclick="f.outerHTML=f.outerHTML">

?

?

3.删除原来input 元素创建新元素