title: Bind different events with jQuery eq() and not()
body: <p>HTML</p>
  
  <pre><code>&lt;table border="1"&gt;
  &lt;tr&gt;
  &lt;td&gt;row 1, cell 1&lt;/td&gt;
  &lt;td&gt;row 1, cell 2&lt;/td&gt;
  &lt;td&gt;row 1, cell 3&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;row 2, cell 1&lt;/td&gt;
  &lt;td&gt;row 2, cell 2&lt;/td&gt;
  &lt;td&gt;row 2, cell 3&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>JS</p>
  
  <pre><code>$(document).ready(function() {
  
    $("tr").find("td").eq(2).click(function(){
        alert('hi');
    });
  
    $("tr").find("td").not().eq(2).click(function(){
        alert('hi2');
    });
  
  });
  </code></pre>
  
  <p>What I'm trying to do here is bind a different click event for the every 3rd <code>&lt;td&gt;</code> of each row and every other <code>&lt;td&gt;</code> different click function. 1st function works but how can I bind event for the <code>&lt;td&gt;</code>'s which are not the 3rd ones?</p>