Usually input and textarea can be checkt and counted by its selector and length.
e.g. Counting empty inputs and textareas:
$('input[value=""]').length;
$('textarea[value=""]').length;
How this can be done with a Table ?
<table>
<tr>
<td>aaa</td>
<td></td>
<td></td>
<td>aaa</td>
</tr>
</table>
The count should be 2. I know I could use a $.each(...) but I would prefere a simple $(selector).length solution.
EDIT: corrected the topic a bit to get this small confusion away, sorry! :D
:empty... example<td> </td>won't be selected as:empty:emptydoesn't do what you think it should