jquery nth child selector 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");
Example 3: jquery select the 3rd row of a table
$('.itemTable').eq(2);
//this will grab the 3rd row of the table with the class itemTable
Example 4: how to select second element in jquery
$("div:eq(1)");
Example 5: jquery get 2nd child
$(t).children().eq(1);