title: removing last 3 rows of a table
body: <p>i have a table and i have two buttons to add and remove rows to this table .</p>
  
  <p>so adding row is easy (i get 3 rows via ajax every time) .</p>
  
  <p>now i want to be able to remove last 3 rows of table by clicking on remove button 
  so unless there is some kind of function or .... to remove recent additions to my table ! i need to remove last three rows of table myself </p>
  
  <p>something like </p>
  
  <pre><code>$('#tbl tr:lt(3)').remove();
  </code></pre>
  
  <p>but last 3 not first ones ! </p>
  
  <p>or i have to do something stupid like</p>
  
  <pre><code>function remove(){
  var i ;
  for(i=0 ; i &lt; 3 ; i++ ){
  $('#table tr:last').remove();
  }
  alert('removed');
  }
  </code></pre>