title: How to find the direct child using this selector?
body: <p>I have this little code:</p>
  
  <pre><code>$("ul#mainnav &gt; li").hover(function(){
     $("ul#mainnav &gt; li &gt; a").slideUp();
  })
  </code></pre>
  
  <p>I just don't know the right syntax for selecting the direct child <code>&lt;a&gt;</code> using <code>$(this)</code>
  What I used is this, and I think its wrong...</p>
  
  <pre><code>$(this).find("&gt; a")
  </code></pre>
  
  <p>Thank you.</p>