I have a table and I am highlighting alternate columns in the table using jquery
$(\"table.Table22 tr td:nth-child(even)\").css(\"background\",\"blue\");
Did you test the following?
$("table.Table22 tr td:nth-child(even):not(:last-child)").css("background","blue")