Get Values from row when checked checkbox
<p>I have a table with checkbox like this:</p>

<p>checkbox   id   size    name</p>

<p>checkbox   1    50*50   aaa </p>

<p>checkbox   2    20*20   bbb  </p>

<p>At the moment i can count how many check boxes are selected :</p>

<pre><code>$(document).ready(function(){

            var $checkboxes = $('#addA td input[type="checkbox"]');


            $checkboxes.change(function(){
                var countCheckedCheckboxes = $checkboxes.filter(':checked').length;
                $('#count-checked-checkboxes').text(countCheckedCheckboxes);
                console.log(countCheckedCheckboxes);

            });

        });
</code></pre>

<p>My question is, when i select for example first checkbox how can i get value of column size?
Also How to increment the values for example, imagine that I select all checkboxes on previous example, i would like to have something like:</p>

<pre><code>var $50.50 = 1
var $20.20 = 1
</code></pre>

<p>Thanks</p>

<p>EDIT:
Table HTML:</p>

<pre><code>    &lt;table id="add-a" class="ad dataTable no-footer" style="width: 1500px;" role="grid"&gt;
&lt;thead&gt;
  &lt;tr role="row"&gt;
&lt;th align="" class="sorting_asc" tabindex="0" aria-controls="add-a" rowspan="1" colspan="1" aria-sort="ascending" aria-label="Add?: activate to sort column descending" style="width: 59px;"&gt;Add?&lt;/th&gt;
&lt;th align="" class="center sorting" tabindex="0" aria-controls="add-a" rowspan="1" colspan="1" aria-label="ID: activate to sort column ascending" style="width: 94px;"&gt; ID&lt;/th&gt;
&lt;th align="" class="center sorting" tabindex="0" aria-controls="add-a" rowspan="1" colspan="1" aria-label="Size: activate to sort column ascending" style="width: 247px;"&gt;Size&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr role="row" class="odd"&gt;
    &lt;td align="left" class="sorting_1"&gt;&lt;b&gt;&lt;p style="text-align: center;"&gt;&lt;input type="checkbox" id="check_7a53936d" name="checkbox[]" value="300x250_zzzzz" class="r1"&gt;&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td align="left" class="center"&gt;1&lt;/td&gt;
    &lt;td align="left" class="center"&gt;300x250&lt;/td&gt;
  &lt;/tr&gt;&lt;tr role="row" class="even" style="background: navajowhite;"&gt;
    &lt;td align="left" class="sorting_1"&gt;&lt;b&gt;&lt;p style="text-align: center;"&gt;&lt;input type="checkbox" id="check_fd6cb3e4" name="checkbox[]" value="300x250_aaaa" class="r1"&gt;&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td align="left" class="center"&gt;2&lt;/td&gt;
    &lt;td align="left" class="center"&gt;300x250&lt;/td&gt;
  &lt;/tr&gt;&lt;tr role="row" class="odd"&gt;
    &lt;td align="left" class="sorting_1"&gt;&lt;b&gt;&lt;p style="text-align: center;"&gt;&lt;input type="checkbox" id="check_503dd438" name="checkbox[]" value="300x250_bbbb" class="r1"&gt;&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td align="left" class="center"&gt;3&lt;/td&gt;
    &lt;td align="left" class="center"&gt;300x250&lt;/td&gt;
  &lt;/tr&gt;&lt;tr role="row" class="even"&gt;
    &lt;td align="left" class="sorting_1"&gt;&lt;b&gt;&lt;p style="text-align: center;"&gt;&lt;input type="checkbox" id="check_d68b36ad" name="checkbox[]" value="300x250_cccc" class="r1"&gt;&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td align="left" class="center"&gt;4&lt;/td&gt;
    &lt;td align="left" class="center"&gt;300x250&lt;/td&gt;
  &lt;/tr&gt;&lt;tr role="row" class="odd"&gt;
    &lt;td align="left" class="sorting_1"&gt;&lt;b&gt;&lt;p style="text-align: center;"&gt;&lt;input type="checkbox" id="check_dd7ff4ea" name="checkbox[]" value="300x250_dddd" class="r1"&gt;&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td align="left" class="center"&gt;5&lt;/td&gt;
    &lt;td align="left" class="center"&gt;300x250&lt;/td&gt;
  &lt;/tr&gt;&lt;tr role="row" class="even"&gt;
    &lt;td align="left" class="sorting_1"&gt;&lt;b&gt;&lt;p style="text-align: center;"&gt;&lt;input type="checkbox" id="check_456f96f3" name="checkbox[]" value="300x250_eeee" class="r1"&gt;&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td align="left" class="center"&gt;6&lt;/td&gt;
    &lt;td align="left" class="center"&gt;300x250&lt;/td&gt;
  &lt;/tr&gt;&lt;tr role="row" class="odd"&gt;
    &lt;td align="left" class="sorting_1"&gt;&lt;b&gt;&lt;p style="text-align: center;"&gt;&lt;input type="checkbox" id="check_09c16d50" name="checkbox[]" value="300x250_ffff" class="r1"&gt;&lt;/p&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td align="left" class="center"&gt;7&lt;/td&gt;
    &lt;td align="left" class="center"&gt;300x250&lt;/td&gt;
  &lt;/tr&gt;&lt;/tbody&gt;
&lt;tbody&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</code></pre>