Hi,
I am dynamically creating a Table with several rows and each row has 2 checkboxes
Thats how I currently add event listeners to the checkboxes:
$("#orders_table").delegate("input", "click", function(e) {
console.log(e);
});
How can I determine which is the clicked checkbox and how to get the ID of that row?
<tr>
<td >112</td> <----How to get that value ?
<td >John</td>
<td >Doe</td>
<td >DoelingStreet9</td>
<td >
<input name="payed" type="checkbox">
</td>
<td>
<input name="shipped" type="checkbox"> <--when I press for example this checkbox ?
</td>
</tr>