为何第二次打开这对话框时,点击导入时上传的内容为空了。在IE,google chrome下都有这个问题
firefox却不存在这个问题,求解
<div id="sysIconUploadForm" style="display:none ;" >
<form id="" method="post">
<div class="import">
<ul>
<li><span id="error_msg_span" class="font_red12"></span></li>
<li>
文 件 名:<input id="IconUpload" name="file" type="file" /><input type="button" onclick="showName()" value="showName"/>
</li>
<li>
<font color="red"><span id="errorHtml" ></span></font>
</li>
</ul>
</div>
<div class="import_list">
<input type="hidden" id="hd_delimiter" name="delimiter" value="" />
<input type="hidden" id="hd_file_name" name="fileName" value="" />
<table style="cellpadding:0;cellspacing:0;">
<tr>
<td colspan="2" align="center" height="40">
<input id="btn_import" class="importbtn" type="button" value="导入" onclick="fileUpload()"/>
</td>
</tr>
</table>
</div>
</form>
</div>
firefox却不存在这个问题,求解
<div id="sysIconUploadForm" style="display:none ;" >
<form id="" method="post">
<div class="import">
<ul>
<li><span id="error_msg_span" class="font_red12"></span></li>
<li>
文 件 名:<input id="IconUpload" name="file" type="file" /><input type="button" onclick="showName()" value="showName"/>
</li>
<li>
<font color="red"><span id="errorHtml" ></span></font>
</li>
</ul>
</div>
<div class="import_list">
<input type="hidden" id="hd_delimiter" name="delimiter" value="" />
<input type="hidden" id="hd_file_name" name="fileName" value="" />
<table style="cellpadding:0;cellspacing:0;">
<tr>
<td colspan="2" align="center" height="40">
<input id="btn_import" class="importbtn" type="button" value="导入" onclick="fileUpload()"/>
</td>
</tr>
</table>
</div>
</form>
</div>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货