I have the following HTML dinamically generated:
...
<tr>
<td><input type="text" class="q" value="5" name="q[]" /></td>
<td><input type="text" class="p" value="20" name="p[]" /></td>
</tr>
...
Ok, so what I want to do is the following: when an input with class q changes, I want to obtain the product between p and q (p*q) that are in the same row, so in this example I would obtain 100.
Is that possible? Thanks!
1 Answer