You cannot due to security reasons.(由于安全原因,您不能。)
Imagine:(想像:)
<form name="foo" method="post" enctype="multipart/form-data">
<input type="file" value="c:/passwords.txt">
</form>
<script>document.foo.submit();</script>
You don't want the websites you visit to be able to do this, do you?(您不希望所访问的网站能够做到这一点,对吗?) =)(=)) 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…