title: How to get a value from the closest <td> with a specific class name?
body: <p>Im using <a href="http://www.google.dk/url?sa=t&amp;rct=j&amp;q=jeditable&amp;source=web&amp;cd=1&amp;ved=0CCIQFjAA&amp;url=http://www.appelsiini.net/projects/jeditable&amp;ei=QT9GT7_kG8vT4QTa-bWvDg&amp;usg=AFQjCNE-JyYtGVoT4sooIMJxDiE5rhHsCA&amp;sig2=50h-DlaoXQWgcV666-HijA" rel="nofollow">Jeditable</a> inside a table, to update a value.</p>
  
  <pre><code>function updateOwner(row, value, settings) {
  
              var td = $(row).closest('.cvrnummer');
  
              alert(td.html());
  
              $.post('UserAdministration/UpdateOwners', { owner: value }, function (data) {
                  alert(data);
              });
          }
  
          $('.editable').editable(function (value, settings) {
              updateOwner(this, value, settings);
              return (value);
          }, {
              data: " {'mona':'moma','cecilie':'cecilie','jacob':'jacob', 'morten':'morten', 'rasmus' : 'rasmus', 'selected':'mona'}",
              type: 'select',
              submit: 'OK'
          });
  </code></pre>
  
  <p>The table looks like this:</p>
  
  <pre><code>&lt;table id="userTable" class="table-autofilter table-autosort" &gt;
  &lt;thead&gt;
  &lt;tr&gt;
  &lt;th&gt;CVR-Nummer&lt;/th&gt;
  &lt;th&gt;Firma navn&lt;/th&gt;
  &lt;th class="table-filterable"&gt;Tilhører&lt;/th&gt;
  &lt;th class="table-sortable:date"&gt;Oprettet&lt;/th&gt;
  &lt;th&gt;Sidst online&lt;/th&gt;
  &lt;th&gt;&lt;/th&gt;
  &lt;th class="table-sortable:numeric table-sortable"&gt;Besvaret (%)&lt;/th&gt;
  &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
  &lt;tr&gt;
         &lt;td class="cvrnummer"&gt;&lt;/td&gt;
         &lt;td&gt;&lt;/td&gt;
         &lt;td class="editable" style="text-align: center;"&gt;&lt;/td&gt;
         &lt;td&gt;&lt;/td&gt;   
         &lt;td&gt;&lt;/td&gt;
         &lt;td&gt;Se besvarelser&lt;/td&gt;
         &lt;td&gt;
         &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I want to pass the value inside </p>
  
  <pre><code>&lt;td class="cvrnummer"&gt;&lt;/td&gt;
  </code></pre>
  
  <p>when i use AJAX to post a value, but im not sure how to get the value. Im using:</p>
  
  <pre><code>var td = $(row).closest('.cvrnummer');
  
              alert(td.html());
  </code></pre>
  
  <p>which is returning null.</p>
  
  <p>How do i get the value?</p>