我写了一个上传控件
<form name ="Form1"  enctype="multipart/form-data" method="post" action="jspsmart.jsp">
<table>
<tr><td >      <p>上传文件1:<input id="fileInput" type ="file" name ="File1" size="20" maxlength="20"/></p></td></tr>
 
       </table>
    <input type ="submit" />
    <input type ="reset" />
   </form>
我想每次打开页面的时候,都用js向上传控件中添加一个固定位置的文件,可是用js的
document.getElementByID()好像获取不到该上传控件,更别提想控件中添加内容了,该怎么办嗯
高手请进!
急!!!!!!!!!!!