jQuery不兼容的问题怎么去修改,特别是IE7!急急急急急。。。谢谢!

sunny_ouxin 2014-03-13 01:59:47
以下是两种浏览器的代码显示:
IE7:
<TD class="" field="selected" sizcache="39" sizset="1" jQuery1610548588716380662="25">
<DIV class=datagrid-cell style="WIDTH: 188px" jQuery1610548588716380662="29">
<SPAN>选择</SPAN>
<SPAN class=datagrid-sort-icon> </SPAN></DIV></TD>

Firefox:
<td class="" field="selected">
<div class="datagrid-cell" style="width: 28px;">
<span>选择</span>
<span class="datagrid-sort-icon"> </span>
</div>
</td>

...全文
406 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
风一样的大叔 2014-03-13
  • 打赏
  • 举报
回复
楼主没有设置列宽,设置下就好了
sunny_ouxin 2014-03-13
  • 打赏
  • 举报
回复
自己的代码:
<td valign="top">
<table id="orderDg" style="height:auto;width:250px;">
<thead >
<tr>
<th data-options="field:'fieldName',hidden:'true',width:0" >字段编码</th>
<th data-options="field:'selected'" >选择</th>
<th data-options="field:'orderName'" >字段名</th>
<th data-options="field:'orderFlg'" >排序</th>
</tr>
</thead>

<tbody >
<s:iterator value="orderFields" id="searchMethodFieldRec" status="st">
<tr>
<td><input id="order_name_order_<s:property value="#st.index"/>" value="<s:property value="#searchMethodFieldRec.pageItemRec.pageItemFieldCode"/>"/></td>

<td><input name="orderCheckbox" checked="checked" type="checkbox" value="order_<s:property value="#st.index"/>"/></td>
<td><s:property value="#searchMethodFieldRec.pageItemRec.pageItemTitle"/></td>
<td><select id="order_flg_order_<s:property value="#st.index"/>">
<option value="1" <s:if test="#searchMethodFieldRec.smfIsOrderFlg==1"> selected="selected"</s:if>>升序</option>
<option value="2" <s:if test="#searchMethodFieldRec.smfIsOrderFlg==2"> selected="selected"</s:if>>降序</option>
</select>
</td>
</tr>
</s:iterator>
</tbody>
</table>
</td>
  • 打赏
  • 举报
回复
问题是你的代码是怎么写的?

87,996

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧