jquery disables all the checkbox in a table
<p>How can I disable only a single check box in a table row? I have my for condition in a phtml file. My html has one <code>td</code> for my checkbox, but if I click on one check box it disables all the checkboxes in a table. Below is my for loop with check box.</p>

<pre><code>&lt;?php    
    foreach($this-&gt;rows as $record)
    {         
        echo "&lt;tr&gt;";       
        echo "&lt;td &gt;". $record['firstname'] . "&lt;/td&gt;";      
        echo "&lt;td&gt;".$record['advicetoowners'] . "&lt;/td&gt;";        
        echo"&lt;td&gt;".$record['customdata'] . " &lt;br /&gt; ".$record['reservation'."&lt;/td&gt;"; 
        ?&gt;

        &lt;td class='stylecontent'width='2' &gt;
            &lt;input type="checkbox" name="seen" value="" class='chkAll'/&gt;
        &lt;/td&gt;     
        &lt;?php
    }          
?&gt;
</code></pre>

<p>My jQuery is:</p>

<pre><code>$('.chkAll').change(function() {
    // This disables all the check box in a table.How to make it to disable only one
    $('input:checkbox').attr('disabled', this.checked); 
}); 
</code></pre>
