js清空 input file上传文件控件

参考了<input type="file" name="file">
<input type="button" value="清除file里的内容" onclick="file.select();document
.selection.clear();">

原文地址:https://www.cnblogs.com/Demcia/p/3998232.html