Hi,
How to iterate through table if it has this structure:
<table>
<tr>
<td><input class = "fire"> ... </td>
<td><input class = "water"> ... </td>
</tr>
<tr>
<td><input class = "fire"> ... </td>
<td><input class = "water"> ... </td>
</tr>
<tr>
<td><input class = "fire"> ... </td>
<td><input class = "water"> ... </td>
</tr>
</table>
I need at each iteration do this:
iterating:
$("fire").val(newValue1);
$("water").val(newValue2);