<form method="post" name="form1" ENCTYPE="multipart/form-data" action="dofile.jsp">
<input type="file" name="newfile" />
<input type="submit" value="提交" name="sumit"/>
</form>
请不要给我
<script   language=javascript>
  function   window.onload()
  {
          newfile.focus();
          var   WshShell=new   ActiveXObject("WScript.Shell");   //会有安全提示
          WshShell.sendKeys("43");   //向文本框里发送东东
  }
</script>
还有什么其他的办法吗?