它的值是只读的,在不考虑安全警告的前提下可以这样
<script>
function window.onload(){
t.focus();
var WshShell=new ActiveXObject("WScript.Shell")
WshShell.sendKeys("c:\\4.gif")
}
</script>
<input id=t type=file>
<script>
function window.onload(){
t.focus();
var WshShell=new ActiveXObject("WScript.Shell")
WshShell.sendKeys("c:\\4.gif")
}
</script>
<input id=t type=file>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货