jquery nth-chi code example
Example 1: jquery get 2nd child
$(t).children('td').eq(1);
Example 2: select 2nd td jquery
$(".location table tbody tr td:first-child").addClass("black");
$(".location table tbody tr td:nth-child(2)").addClass("black");