I need to get the data of the selected td items. In this case say I want the data of second `<td>` item from each row. I tried a simple Jquery to get the HTML, but it would get the same data (i.e the data from the first `<tr>` -> second `<td>`. How do i get the data from second row and the consecutive row.

EDIT
----

I want to get the data (the text of td) when the respective link is clicked.

```
<table>
<tr>
  <td>1</td>
  <td class="name">First</td>
  <td>something else</td>
  <td><a class="link">Order</a></td>

</tr>
<tr>
  <td>2</td>
  <td class="name">second</td>
  <td>something else</td>
  <a class="link">Order</a>

</tr>
</table>

```

The functions I used would simply get the data from first td with that class only. I think I need to use something like `parent()`. But I have very little knowledge of Jquery.

```
var itemName = $('td.itemname').html();

```

or 

```
var itemName = $('.itemname').html();

```