I have a table where all my rows are like this:
<tr>
<td class="name">name1</td>
<td class="type">type1</td>
<td class="edit">
<a href="edit" class="edit">edit</a>
</td>
</tr>
I need to disable the edit href for certain types. So I need something like:
row = $('.mytable').find(row where .type value = type_with_no_edit) #this is where I need elp
row.find('a.edit').remove();
If the row was alwasy the first one, I would do:
row = $('.mytable tbody>tr:first')
but that's not always the case.