title: Get the current <li> number
body: <p>I have a list like this one:</p>
  
  <pre><code>&lt;ul&gt;
  
    &lt;li&gt;
      &lt;a href="..."&gt; ... &lt;/a&gt;
      &lt;a href="..."&gt; ... &lt;/a&gt;
    &lt;/li&gt;
  
    &lt;li&gt;
      &lt;a href="..."&gt; ... &lt;/a&gt;
      &lt;a href="..."&gt; ... &lt;/a&gt;
    &lt;/li&gt;
  
    &lt;li&gt;
      &lt;a href="..."&gt; ... &lt;/a&gt;
      &lt;a href="..."&gt; ... &lt;/a&gt;
    &lt;/li&gt;
  
    ...
  
  &lt;/ul&gt;
  </code></pre>
  
  <p>and the jQuery:</p>
  
  <pre><code>$("li").each(function(){
       // do stuff
  });
  </code></pre>
  
  <p>How can I get the current list number (like 1, 2 or 3) inside that jquery function (where do stuff is)?</p>