Oh, I got it. this is my way.

$('tr td:first-child').removeClass('selected');
$(this).addClass('selected');

Reply via email to