在Internet Explorer 8中,不能在html()之后使用jquery选择带有空格的元素,Firefox工作正常
我有以下用于显示值的代码在Internet Explorer 8中,不能在html()之后使用jquery选择带有空格的元素,Firefox工作正常,jquery,ajax,Jquery,Ajax,我有以下用于显示值的代码 <tr> <td class="colheader"><b>Customer Name</b></td> <td style="height: 25px; overflow:hidden;"><s:label cssClass="labelvalue" id="iocustomer" /></td> </tr> function setOrderInqRespo
<tr>
<td class="colheader"><b>Customer Name</b></td>
<td style="height: 25px; overflow:hidden;"><s:label cssClass="labelvalue" id="iocustomer" /></td>
</tr>
function setOrderInqResponse(data){
$("#iocustomer").html(data.orderInq.customer);
}
实际数据来自ajax请求,但无法在IE中选择客户名称!,它在Firefox中运行良好。可能有什么问题?使用html标签标签代替struts标签
这不是HTML。这是JSP吗?Struts2可能?…该行的实际HTML输出是什么而不是服务器端模板?Struts2标记不能选择客户名称是什么意思?控制台错误?您是否在任何地方使用console.log,因为除非控制台已经打开,否则它在IE中无法工作。