if you want to target closest children of top parent you can do so as something define below.
lets assume you have an HTML like
similarly if you want to target grandparent next parent containers children just change .prev() to .next()
hope i made it simple to define :)