I have a table such as this
<table class="headerTable" id="headerTable">
<tbody>
<tr class="hh">
<td>test1</td>
<td>18,164</td>
</tr>
<tr class="member">
<td>test3</td>
<td>24,343</td>
</tr>
</tbody>
</table>
I want to hide the rows with class member.
I did something like this but it is not working..
$("#headerTable tbody tr:member").hide();
Try this
The selectors in jQuery like CSS selectors, so you should be able to use them like that.
You can browse the jQuery selector documentation here, it’s full of interesting things you can do.