jquery Find ID of dynamically generated tr tag
问题 i have a table with tr containing 10 td elements. The tr are generated dynamically. For eg <tr id = "<?php echo $count; ?>" > <td>name </td> <td>info </td> ... ... <td><a href="delete.php">delete</a></td> </tr> What i wish to do is when i click on delete link , using ajax go to delete page do the needful and then without page refresh delete the row. My problem is how do i get the ID in jquery? or is there any other way i could work out but i wish to use jquery for this particular purpose.