How do I parse xml with jQuery?

前端 未结 3 1793
太阳男子
太阳男子 2020-12-06 14:08

What is the jQuery alternative to the following JavaScript code?

var xmlobject = (new DOMParser()).parseFromString(xmlstring, \"text/xml\");
<
3条回答
  •  自闭症患者
    2020-12-06 15:06

    Take a look at these plugins:

    xmlDOM - http://plugins.jquery.com/project/XmlDOM
    jParse - http://jparse.kylerush.net/

提交回复
热议问题