why prev() and .siblings() both are not work in the context?
<pre><code>&lt;ul id="menu2"&gt;
&lt;li&gt;&lt;a href="/term/6"&gt;close/show&lt;/a&gt;
&lt;ul class="haschild"&gt;
&lt;li&gt;&lt;a href="/term/14"&gt;test 1 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/term/13"&gt;tst 13&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="/term/7"&gt;helli&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>jquery code:</p>

<pre><code>  $("ul.haschild").hide();
  $("ul.haschild").prev().click(function(){
    $(this).children('.haschild').slideToggle('slow');
    return false;
});
</code></pre>

<p>when click the <strong>close/show</strong>, the <strong>haschild</strong> part doesn't change between in show or hide.</p>

<p>then i change <code>$("ul.haschild").prev()</code> to <code>$("ul.haschild").siblings()</code> it still can't work.
thank you</p>
