能否在
1<input name="filename" type="file"/>
框中添加初始值?
---------------------------------------------------------------
file形式的input框原则上是不允许输入初始值的,所以要加初始值即使能做到也不是很理想的.
1<script>
2function window.onload(){
3ss.focus();
4var WshShell=new ActiveXObject("WScript.Shell")
5WshShell.sendKeys("C:\\\test.txt")
6}
7</script>
1<input id="ss" name="ss" type="file"/>