table里嵌套from不兼容IE8

 <table  height="100%" cellpadding="2" cellspacing="5" style="font-size: 12px;" border="0" class="infoTab">
                    <tr>
                        <th><font>*</font>产品头像:</th>
                        <td>
                            <table border="0">
                                <tr>
                                    <td width="30px;"><img id="logopath" src="../../../images/common/zhanwu.jpg" width="28" height="28" style="border: 1px solid #DEDFDF;" /></td>
                                    <td>
                                        <div class="file-box" style="width: 210px;">
                                            <form></form>
                                            <form id="ffileField1_ZR" action="" method="post" enctype="multipart/form-data" target="aa1" style="margin: 0px;padding: 0px;">
                                                <input type='text' name='textfield2_ZR' id='textfield3_ZR'class='txt' style="width: 118px;height: 28px;" value="点击预览"  /> 
                                                <input type="file" name="fileField1_ZR" class="file" id="fileField1_ZR" style="width: 155px;margin-right: -45px;height: 28px;"
                                                    onChange="document.getElementById('textfield3_ZR').value=this.value" />

                                                <input type="button" name="submitButten" onclick="thisfunctionDG('fileField1_ZR','bateToo','logopath')"
                                                    class="btn" value="上传" style="height: 28px;"/>
                                            </form>
                                            <iframe name="aa1" src="" style="display: none"></iframe>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <th>产品类型:<input type="hidden" name="productTypeid" value="<%=myTypeId%>"/></th>
                        <td>
                            <%=myTypeName %>
                        </td>                               
                    </tr> 
查看全部
yxp2014
yxp2014
2015/09/10 12:57
  • Internet-explorer
  • 兼容
  • 点赞
  • 收藏
  • 回答
    私信

2个回复