There will be lot of rows in the table and delete buttons for each row.. while clicking delete button, I'm trying to fetch two td values.. and it's returning null
Html is
<tr>
<td> abc</td>
<td> def</td>
<td> <input type="button" class=" delete" value=" delete"></td>
Jquery code on clicking button
jQuery(this).find("tr td:eq(1)").text();
Is there anything wrong? It should get the second td value of which ever row when we click delete button