say I have some table rows:
<tr class="toplevel" data-id="3">
...
</tr>
<tr data-id="3">
...
</tr>
<tr data-id="3">
...
</tr>
So as far as I know I can hide the ones with class toplevel like:
$('tr.toplevel').hide();
and I can hide the ones with data-id=3 like:
$('tr').data('3').hide();
However what I really want to do is hide the ones with data-id=3 that DON'T have the class toplevel.
Could someone please explain to me how to do this?