Count number of empty input boxes in table row
- by Daniel Brink
How do you calculate the number of input boxes with no value in a table row using jquery?
example:
<table id="table1">
<tr class="data" id="row5">
<td><input type="text" value="20%" /></td>
<td><input type="text" value="10%" /></td>
<td><input type="text" value="" /></td>
<td><input type="text" /></td>
</tr>
<table>
I'm looking for answer = 2