4
I have text inputs in cells of a table.
<table>
<tr>
<td>Bola</td>
<td>Casa</td>
<td>Arvore</td>
</tr>
<tr>
<td><input type="text" class='campo' /></td>
<td><input type="text" class='campo' /></td>
<td><input type="text" class='campo' /></td>
</tr>
</table>
When I type in one of them I want to know if it is in column 1, 2 or 3. How to achieve this?
$(".campo").on("input", function(){
// ?????
});
oo, it was cool.
– Wallace Maxters
@Joaopaulo, but ideally using a date-* to map the table
– Tobias Mesquita