Hi!
The HTML looks something like this:
<li class="divider">
<div>
...(maybe more divs)...
<div class="content">
...(maybe more divs)...
<a href="#" class="link">LINK</a>
...
how can I select the .content DIV, from within a jQuery function hooked on the link? Note that I have multiple lists like this, and in some of them div.content might be missing, so I want to select this div only if it exists in the current block (li.divider).
I tried with $link.parent().parent().find('content')
but it fails in some cases, because the number of elements between these 2 elements can change...