How to find the parent from the collected element?
<p>i have a variable stored 3 divs.</p>

<p>Each div has a tille element. while clicking the title element, I need to make accordion function, is it possible..?</p>

<p>I tried like this, but not working:</p>

<pre><code>var sectors = $('#parent').find('div &gt; div') //it returs the length 3

var title = $('#parent').find('h3') // as well it returns 3.

function//

$(title).click(function(){
    $(sectors).slideToggle();//it's working... i am hiding all
   $(sectors,':first').slideToggle();//it's not working... i need to show the sibling elment
})
</code></pre>

<p>is there any way to fix this? instead of traversing dom, i am just doing it using variables.</p>
