Reputation: 109
I have the code provided from the following link.
I am trying to get the word "other" which is inside the tags. In the best case the alerted value is undefined. I can't find it neither with the parent(), nor the siblings() or from its children().
other = xml.find("CustomerLoss High").next().html()
Upvotes: 0
Views: 32
Reputation: 109
I found it.
I had to do:
other = xml.find("Reputation").siblings().next().prop("tagName")
Upvotes: 1