jquery ie11 html函数,jQuery append()函数在IE11中失败

我是Jquery 1.10.2版本。我的要求是在已经存在的xml的特定节点上添加一个xml节点。为此,我正在使用Jquery append()函数。在Chrome,Firefox和IE Edge中运行正常,但在IE11中失败。

在IE11中出现以下错误:

Object doesn't support this property or method

以下是代码

var effectiveDate = document.getElementById("brokerEffDate").value;

var groupSummaryResponse = soapGetGroupSummary.responseXml.cloneNode(true);

var userProvidedEffDateNode = ""+effectiveDate+"";

if (groupSummaryResponse != null){

$(groupSummaryResponse).find('divisions').append(userProvidedEffDateNode);

$(groupSummaryResponse).find('division').each(function(){

if ($(this).children().get(6).innerHTML == ''){

$(this).find('GroupExpDt').text('12/31/9999')

}

});

}

要使其在IE11中工作,我需要进行哪些更改?

Node.appendChild在我的情况下也不起作用。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值