How can I select this?
How can I select this?
So I have a script that grabs data from an xml doc, and for every result it makes this tree
whole
header
title
social
body
graph
etc...
clicking on the 'title' would show/hide the body. Up until today the 'social' would be was under 'body', but tooday i moved it to 'header'. Previously I would select the body of each element use .next(), but now it selects social...I was wondering if there is some selector that I can use that will target each result's body.
Any help would be appreciated