日期:2014-05-17  浏览次数:20894 次

为什么我点击上传按钮没反应
为什么我点击上传按钮以后那个上传的file框依然显示选择的文件在那停留 没反应,不能上传
<form name="data2" id="data2" action="commonMonitorProject_dataInput.action" style="display:none;" method="post" enctype="multipart/form-data">
<input type="hidden" name="id" value="${id}">
<input type="hidden" name="monitorDuty.id" value="${monitorDuty.id}">
<input type="hidden" name="monitorContent.id" value="${monitorContent.id}">
 <table id="myTable2" width="98%" border="0" cellpadding="0" cellspacing="1" class="listtable01" align="center">
    <tr>
        <th>监测时间</th>
        <th>经度</th>
        <th>纬度</th>
        <th>海拔</th>
        <th>数据值</th>
        <th>操作</th>
      </tr>
</table>

<!-- zhang -->
<fieldset>
<legend>
文件上传
</legend>
<table width="100%" style="font-size: 14; background-color: white">
<tr>
<td>
<label>
选择文件
</label>
</td>
<td>
<input type="file" name="outflowword" style="width:300px;">
</td>
</tr>
</table>
</fieldset>
<div style='margin-top:10px;margin-bottom:0px;width:100%;height:80px;text-align:center;'>
<table cellpadding="0" cellspacing="0" width="100%" style="margin-top:10px; ">
<tr height="17">
<td align="right">
<input name="Submit" type="button" class="button02" value="录入完成" onclick="input();" />
</td>
</tr>
</table>
</div>  
</form>

------解决方案--------------------
js 部分没有呢?
如果没有附件的话,能提交表单吗