How to find the column label by description value?
<p>I have a table that is dynamically generated, i want to find the sum column that exists at the end of the SUM row. How can I found that column ?</p>

<p>here's my jquery so far:</p>

<pre><code>keyup: function (e) {

            // get the level
            var level = $(this).closest('tr').attr('id');

            // this = all columns in the row
            var inputValue = $(this).find('input').val();

            // get account nr from first column
            var account = $(this).closest('tr').children().eq(0).text();

            // get all elements with the same level id
            var elements = $('tr[id=' + level + ']'); //.find('*').filter(function () {    
</code></pre>

<p>here is my table</p>

<pre><code>&lt;table id="table"&gt;
    &lt;!-- 
        row is dyanmically looped and tr id can be whatever in that format 
        and has many of the same id
    --&gt;
    &lt;tr id="1-2-2"&gt;
          &lt;td&gt;test&lt;/td&gt;
          &lt;td&gt;&lt;%= x.Description %&gt;&lt;/td&gt;
          &lt;td&gt;test&lt;/td&gt;
          &lt;td&gt;test&lt;/td&gt;
          &lt;td&gt;&lt;label name="account-&lt;%= rad.Konto %&gt;"&gt;&lt;/label&gt;&lt;/td&gt;
        &lt;/tr&gt;
</code></pre>

<p></p>

<p>When the Description is SUM then I want to get the label from the last column on the same row and update it with new value that is entered in the keydown function.</p>
