【发布时间】:2015-06-27 09:54:13
【问题描述】:
在如下所示的 XML 节点中:
为什么这段代码不起作用?
xml = $.parseXML( xml );
console.log(xml);
plot = $(xml).find("movie");
aP = plot.attributes
console.log(aP);
我的控制台日志未定义。 aP
我也试过 aP = $(plot).attributes
【问题讨论】:
标签: javascript html ajax xml