title: Getting parent id in jquery
body: <p>I have the following markup:</p>
  
  <pre><code>&lt;ul class="item"&gt;
        &lt;li id="user_one"&gt;Username
            &lt;ul&gt;
              &lt;li class="click"&gt;Click Here&lt;/li&gt;
          &lt;/ul&gt;
  </code></pre>
  
  <p></p>
  
  <p>Basically I want to be able to get the ID of the parent LI.  This is what I currently have:</p>
  
  <pre><code>$(this).parents("ul").find(".item li").attr("id");
  </code></pre>
  
  <p>This works sort of, there are many of these lists on a single page, all with different ID's.  It always returns the first item, instead of really the parent from what was clicked.</p>
  
  <p>Any help would be awesome... thanks!</p>