js清除input中type等于file的值域
var objFile = document.getElementById('fileID');
objFile.outerHTML=objFile.outerHTML.replace(/(value=\").+\"/i,"$1\"");
根据id 删除(input , img)等tag
document.getElementById("ID号").removeNode(true);
var objFile = document.getElementById('fileID');
objFile.outerHTML=objFile.outerHTML.replace(/(value=\").+\"/i,"$1\"");
根据id 删除(input , img)等tag
document.getElementById("ID号").removeNode(true);