<script language=”javascript”>
$(function(){
 $(“table.className1 tr:nth-child(odd)”).addClass(“className2″);
});
</script>

(even/odd)

Tags: