title: how to target last tr in jquery?
body: <p>i want to apply some css properties on last tr in table so i have use :last selector but it wont work in ie9 below version so i am trying to do so with "eq()" method but not getting result. It is possible to target last tr with eq() method in jquery.</p>
  
  <pre><code>&lt;script type="text/javascript" src="../jquery/jquery-1.7.min.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
  
  $(function() {
  
      var trNo= $('#compareTable tr');
      var NoN= trNo.eq(-1);
      NoN.css('border','none')
      });
  
  
  &lt;/script&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;div class="main"&gt;
  
  &lt;div class="compatible"&gt;
  &lt;h4 class="compatileHeading"&gt;8 Matching Compatible Product&lt;/h4&gt;
  &lt;div class="listingCompatibleProdcut"&gt;
  &lt;table width="100%" border="0" cellspacing="0" cellpadding="0" id="compareTable"&gt;
    &lt;tr&gt;
      &lt;td width="105" align="center"&gt;
      &lt;div class="compareBox"&gt;
      &lt;ul id="compareunorderedList"&gt;
      &lt;li class="compareImg"&gt;&lt;img src="images/img.jpg" width="50" height="93" /&gt;&lt;/li&gt;
      &lt;li class="compareTitle"&gt;Galaxy S LCD 4GB&lt;/li&gt;
      &lt;li class="compareCode"&gt;GT-19003&lt;/li&gt;
  
      &lt;/ul&gt;
      &lt;/div&gt;
      &lt;/td&gt;
      &lt;td width="105" align="center"&gt;&lt;div class="compareBox"&gt;
      &lt;ul id="compareunorderedList"&gt;
      &lt;li class="compareImg"&gt;&lt;img src="images/img.jpg" width="50" height="93" /&gt;&lt;/li&gt;
      &lt;li class="compareTitle"&gt;Galaxy S LCD 4GB&lt;/li&gt;
      &lt;li class="compareCode"&gt;GT-19003&lt;/li&gt;
  
  
      &lt;/ul&gt;
      &lt;/div&gt;&lt;/td&gt;
      &lt;td width="105" align="center"&gt;&lt;div class="compareBox"&gt;
      &lt;ul id="compareunorderedList"&gt;
      &lt;li class="compareImg"&gt;&lt;img src="images/img.jpg" width="50" height="93" /&gt;&lt;/li&gt;
      &lt;li class="compareTitle"&gt;Galaxy S LCD 4GB&lt;/li&gt;
      &lt;li class="compareCode"&gt;GT-19003&lt;/li&gt;
  
  
      &lt;/ul&gt;
      &lt;/div&gt;&lt;/td&gt;
      &lt;td width="105" align="center"&gt;&lt;div class="compareBox"&gt;
      &lt;ul id="compareunorderedList"&gt;
      &lt;li class="compareImg"&gt;&lt;img src="images/img.jpg" width="50" height="93" /&gt;&lt;/li&gt;
      &lt;li class="compareTitle"&gt;Galaxy S LCD 4GB&lt;/li&gt;
      &lt;li class="compareCode"&gt;GT-19003&lt;/li&gt;
  
  
      &lt;/ul&gt;
      &lt;/div&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td width="105" align="center"&gt;
      &lt;div class="compareBox"&gt;
      &lt;ul id="compareunorderedList"&gt;
      &lt;li class="compareImg"&gt;&lt;img src="images/img.jpg" width="50" height="93" /&gt;&lt;/li&gt;
      &lt;li class="compareTitle"&gt;Galaxy S LCD 4GB&lt;/li&gt;
      &lt;li class="compareCode"&gt;GT-19003&lt;/li&gt;
  
  
      &lt;/ul&gt;
      &lt;/div&gt;
      &lt;/td&gt;
      &lt;td width="105" align="center"&gt;&lt;div class="compareBox"&gt;
      &lt;ul id="compareunorderedList"&gt;
      &lt;li class="compareImg"&gt;&lt;img src="images/img.jpg" width="50" height="93" /&gt;&lt;/li&gt;
      &lt;li class="compareTitle"&gt;Galaxy S LCD 4GB&lt;/li&gt;
      &lt;li class="compareCode"&gt;GT-19003&lt;/li&gt;
  
  
      &lt;/ul&gt;
      &lt;/div&gt;&lt;/td&gt;
      &lt;td width="105" align="center"&gt;&lt;div class="compareBox"&gt;
      &lt;ul id="compareunorderedList"&gt;
      &lt;li class="compareImg"&gt;&lt;img src="images/img.jpg" width="50" height="93" /&gt;&lt;/li&gt;
      &lt;li class="compareTitle"&gt;Galaxy S LCD 4GB&lt;/li&gt;
      &lt;li class="compareCode"&gt;GT-19003&lt;/li&gt;
  
  
      &lt;/ul&gt;
      &lt;/div&gt;&lt;/td&gt;
      &lt;td width="105" align="center"&gt;&lt;div class="compareBox"&gt;
      &lt;ul id="compareunorderedList"&gt;
      &lt;li class="compareImg"&gt;&lt;img src="images/img.jpg" width="50" height="93" /&gt;&lt;/li&gt;
      &lt;li class="compareTitle"&gt;Galaxy S LCD 4GB&lt;/li&gt;
      &lt;li class="compareCode"&gt;GT-19003&lt;/li&gt;
  
  
      &lt;/ul&gt;
      &lt;/div&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  
  
  
  &lt;/div&gt;
  
  &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>