title: Jquery- Get the value of first td in table
body: <p>I am trying to get the value of first td in each tr when a users clicks "click". </p>
  
  <p>The result below will output aa ,ee or ii. I was thinking about using closest('tr').. but it always output "Object object". Not sure what to do on this one. </p>
  
  <p>My html is </p>
  
  <pre><code> &lt;table&gt;
     &lt;tr&gt;
        &lt;td&gt;aa&lt;/td&gt;
        &lt;td&gt;bb&lt;/td&gt;
        &lt;td&gt;cc&lt;/td&gt;
        &lt;td&gt;dd&lt;/td&gt;
        &lt;td&gt;&lt;a href="#" class="hit"&gt;click&lt;/a&gt;&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
        &lt;td&gt;ee&lt;/td&gt;
        &lt;td&gt;ff&lt;/td&gt;
        &lt;td&gt;gg&lt;/td&gt;
        &lt;td&gt;hh&lt;/td&gt;
        &lt;td&gt;&lt;a href="#" class="hit"&gt;click&lt;/a&gt;&lt;/td&gt;
     &lt;/tr&gt;
     &lt;tr&gt;
        &lt;td&gt;ii&lt;/td&gt;
        &lt;td&gt;jj&lt;/td&gt;
        &lt;td&gt;kk&lt;/td&gt;
        &lt;td&gt;ll&lt;/td&gt;
        &lt;td&gt;&lt;a href="#" class="hit"&gt;click&lt;/a&gt;&lt;/td&gt;
     &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Jquery</p>
  
  <pre><code>$(".hit").click(function(){
  
   var value=$(this).// not sure what to do here
  
   alert(value)  ;
  
  });
  </code></pre>