I have the following code; I have a few hundred rows generated dynamically, this is just one example. I'm trying to addClass to the parent (tr) but it's not working. Any ideas?

```
<tr>
    <td style="text-align:center;">False</td>
    <td style="text-align:center;">1</td>
    <td style="text-align:center;">
    TL - Van<script>$(this).closest('tr').addClass('tl-van');</script>
    </td>
  </tr>

```