trying to get a dynamic value
<p>I'm trying to grab the value of a td for each row that is checked, and add it to itself to figure out total hours. The following is what I have so far. (Note, I've tried variations of .text, .html, and .val.)</p>

<pre><code>&lt;tbody&gt;  
   &lt;tr class=""&gt;
      &lt;td&gt;&lt;input value="32" type="checkbox"&gt;&lt;/td&gt;
      &lt;td&gt;Keyword Optimization*&lt;/td&gt;  
      &lt;td class="hours" style=""&gt;5&lt;/td&gt;
      &lt;td&gt;hours&lt;/td&gt;  
   &lt;/tr&gt;  

&lt;/tbody&gt; 
</code></pre>

<p>So in this case, I'm looking to be able to add "5" to the total hours. Here is my jquery:</p>

<pre><code>$("input:checked").each(function(){
hrs = parseInt($(this).find(".hours").val) + hrs;
});
alert(hrs + " hours.")
</code></pre>
