Set where the click is going to happen
<p>html:</p>

<pre><code>&lt;tr id="tr"&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>Jquery</p>

<pre><code>$("#tr").click(function(){

// something happen

});
</code></pre>

<p>so, the question is:</p>

<p>the click effect obviously will get all the stuffs inside the <code>&lt;tr&gt;</code></p>

<p>can the click effect just happen when i click in the first 3 td's inside the <code>&lt;tr&gt;</code> ?</p>

<p><strong>edit:</strong> </p>

<p>if i have more then 1 tr</p>

<pre><code>&lt;tr class="tr"&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="tr"&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
     &lt;td&gt;Somthing&lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>the solution <code>td:lt(4)</code> will only work in the first <code>tr</code>
ps.: i neeed to identify the tr, because i have another stuffs around the code working with tr's</p>

<p>my real code is this:</p>

<pre><code>$(".class td:lt(6)").live("click", function(){


 });
</code></pre>

<p><strong>damo:</strong> <a href="http://jsfiddle.net/w3hKf/4/" rel="nofollow">http://jsfiddle.net/w3hKf/4/</a></p>
