how do I find the value inside of a td upon clicking a checkbox in another td but within the same tr?
<p>I have a table with a few columns and a few rows. When I click a checkbox at the beginning of each row, I'd like to store the value of a particular cell into a variable and use it in a comparison for something else.</p>

<p>How would I go about getting data from a cell in the same row as the clicked checkbox?</p>

<p>This function gets called by the click event for the checkbox that was clicked</p>

<pre><code> function checkLives
 if ($('.CarrierID:contains("2")', $( ':checkbox' ).parents( 'td' ) ).length &gt; 0 )
        {
            //if its not dental
            &lt;%if (this.CurrentProduct != Products.Dental){%&gt;

                //if the lives being quoted are over 16

                //Here is where I would need the value inside of that table row
                if (livesover16)
                {
                    //show popup
                  $('#over16').dialog('open');
                    return false;

            &lt;%}%&gt;
        }
</code></pre>
