So I have a table structured like this:

```
<table>
    <thead>
        <tr>
            <th>Id</th>
            <th>Name</th>
            <th>Company</th>
            <th>Position</th>
            <th>Start Date</th>
            <th>Role</th>
            <th></th>
        </tr>
    </thead>
    <tbody>
        <tr>
             <td><?php info displayed with php ?></td>
             <td><?php info displayed with php ?></td>
             <td><?php info displayed with php ?></td>
             <td><?php info displayed with php ?></td>
             <td><?php info displayed with php ?></td>
             <td><?php info displayed with php ?></td>
             <td><a href="#" class="usr-edit">Edit</a></td>
         </tr>
     </tbody>
</table>

```

What I would like to do is get the value of the Id from the first column when the user clicks edit. If you would like to laugh at my failed attempt, here it is:

```
$('.usr-edit').click(function() {
    var a = $(this).prev().prev().prev().prev().prev().prev().text();

    alert(a);
});

```