I have the following table:
<table class="grid">
<thead>
<tr>
<th>Name</th>
<th>Status</th>
<tr>
</thead>
<tbody>
<tr>
<td>Project 1</td>
<td>Closed</td>
<tr>
<tr>
<td>Project 2</td>
<td>Open</td>
<tr>
<tr>
<td>Project 3</td>
<td>Closed</td>
<tr>
</tbody>
</table>
I am trying to move some of my UI code that I used to do in the code-behind to jQuery. I would like to change the class of TR element whenever the Status (Column 2) column has a value of Open.
What would be the best approach to doing this with jQuery?