var str="xml字符串";

alert($(str).find("Row").attr("Id"));

在IE8下,这段脚本无法运行,,而在IE9以上的版是正常的

 

 

IE8浏览器只能强制把字符串转成XML

ajaxfxml = new ActiveXObject("Microsoft.XMLDOM");
ajaxfxml.async = false;
ajaxfxml.loadXML(str);

alert($(str).find("Row").attr("Id"));

 

好吧,,现在是2014-03-13 03:20:26 ,,在客户的电脑折腾了半天,,,JQ伤不起,,,

相关文章:

  • 2022-12-23
  • 2022-01-29
  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2021-12-01
猜你喜欢
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
相关资源
相似解决方案