$(”tr:last”).css({backgroundColor: ‘yellow’, fontWeight: ‘bolder’});
Will apply backgroundColor and fontWeight in last <td> of table .
Tag: apply css in last child of parent
$(”tr:last”).css({backgroundColor: ‘yellow’, fontWeight: ‘bolder’});
Will apply backgroundColor and fontWeight in last <td> of table .
© PHPInterviewQuestion.com 2009 - 2010