解析 xml 到 jQuery 获取标签内的内容
Parse xml through jQuery get what is inside tags
我有以下link提供的代码。
我正在尝试获取标签内的单词 "other"。在最好的情况下,警报值是未定义的。我无法通过 parent()、siblings() 或其 children() 找到它。
other = xml.find("CustomerLoss High").next().html()
我找到了。
我必须做的:
other = xml.find("Reputation").siblings().next().prop("tagName")
我有以下link提供的代码。
我正在尝试获取标签内的单词 "other"。在最好的情况下,警报值是未定义的。我无法通过 parent()、siblings() 或其 children() 找到它。
other = xml.find("CustomerLoss High").next().html()
我找到了。
我必须做的:
other = xml.find("Reputation").siblings().next().prop("tagName")