get parent's siblings number went its child was click
<p>Here is my HTML and when tag was click I want to know that what is its <code>&lt;li&gt;</code> siblings number was. Please Advice me please. </p>

<pre><code> &lt;div id="tabs"&gt;
       &lt;ul&gt;
           &lt;li class="select" &gt;&lt;a href="#" id="tabHotel"&gt;Hotel&lt;/a&gt;&lt;/li&gt;
           &lt;li &gt;&lt;a href="#" id="tabAirfare"&gt;Airfare&lt;/a&gt;&lt;/li&gt;
           &lt;li &gt;&lt;a href="#" id="tabPackage"&gt;Package&lt;/a&gt;&lt;/li&gt;
       &lt;/ul&gt;
  &lt;/div&gt;
</code></pre>

<p>and here is my javascript. </p>

<pre><code>// I don't want to input 1 in the function tabSelector 
// I want to get parent's sibling value automatic and 
// change somthing in li class.

$('#tabHotel').click(function(){
    tabSelector(1);
});
</code></pre>
