try{
document.getElementsByName('file')[0].value='';
$("file").focus();
document.execCommand("selectall");
document.execCommand("Delete");
}catch(eee){}
清空 type=file 控件值
最新推荐文章于 2024-06-21 11:14:10 发布
try{
document.getElementsByName('file')[0].value='';
$("file").focus();
document.execCommand("selectall");
document.execCommand("Delete");
}catch(eee){}