Creative UI/UX Designers Question:
Download Questions PDF

Can we apply css in last child of parent using JQuery library?

Answer:

$("tr:last").css({backgroundColor: 'yellow', fontWeight: 'bolder'});

Download Creative User Interface UX Interview Questions And Answers PDF

Previous QuestionNext Question
How to modify css class using JQuery library?How to apply css in even childs of parent node using JQuery library?