$(window).load
$('#my_table tr').each(function() {var text = $('td', this).eq(28).text(); if(text == '1') $(this).addClass("activ");