Sample logic for J.A.Y
by Ninay is Unknown
HTML
<table style="width:100%" id="myTable">
<tr>
<th></th>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<th></th>
<td><button id="thefuck1" > hahah </td>
<td><input type="text" name="firstname" value ="jaylisto"> te</td>
<td>bihuhu</td>
<td>50</td>
</tr>
<tr>
<th>
<td><button id="thefuck2" >huaaa</td>
<td><input type="text" name="firstname" value ="thelisto"></td>
<td>tang</td>
<td>94</td>
</tr>
</table>
JavaScript
$('#myTable').find('tr').click( function(){
//var row = $(this).find('td:eq(1) input').val();
$(this).find('td:eq(1) input').val("the fuck");
//$(this).closest("tr").hide();
alert('You clicked ' + row);
});