Below is the table structure:
<table id="mytable">
<tr>
<td>name</td>
<td>
<a id="button1" class="button">link</a>
</td>
</tr>
<tr>
<td>name2</td>
<td>
<a id="button2" class="button">link</a>
</td>
</tr>
</table>
I am trying to hide the button in the first column of the first row using jQuery. I was able to make the first row italic with the following code snippet:
$(document).ready(function() {
$("#mytable tr:first").css("font-style", "italic");
});