Count number of empty input boxes in table row
Posted
by Daniel Brink
on Stack Overflow
See other posts from Stack Overflow
or by Daniel Brink
Published on 2010-05-31T08:17:14Z
Indexed on
2010/05/31
8:22 UTC
Read the original article
Hit count: 199
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
© Stack Overflow or respective owner