title: Jquery which sibling number has class
body: <p>I want to know wich sibling number has current class in a list:</p>
  <pre><code>&lt;ul&gt;
  &lt;li&gt;Item 1&lt;/li&gt;
  &lt;li&gt;Item 1&lt;/li&gt;
  &lt;li class=&quot;current&quot;&gt;Item 1&lt;/li&gt;
  &lt;li&gt;Item 1&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  <p>Result must be 3. Any ideas? Thanks a lot!</p>