Find xml attribute values with javascript

前端 未结 2 1678
野趣味
野趣味 2021-01-14 03:18

How do I get the attribute value of an XML node with Javascript / jQuery?

I\'m trying to get the value of the duration attribute on the node, then get the fixedValu

2条回答
  •  没有蜡笔的小新
    2021-01-14 04:15

    For those looking out for loading the XML from an external file, this could be of some help:

    
    

提交回复
热议问题