This question has been answered by absent42. See the first response.
tr:nth-child(even) {background: #CCC} tr:nth-child(odd) {background: #FFF}
$("tr:odd").addClass("alt-row");