You're selecting the td
instead of the table row itself. Also table-striped
was not targeted correctly (assuming it's another class on table). Change your jQuery selectors to
$(".table.table-striped tbody tr:even").addClass('EvenRow');
$(".table.table-striped tbody tr:odd").addClass('OddRow');