get id of first td jquery code example
Example: get id of first td jquery
$(".hit").click(function(){
var value=$(this).closest('tr').children('td:first').text();
alert(value);
});
$(".hit").click(function(){
var value=$(this).closest('tr').children('td:first').text();
alert(value);
});