$('#action_button').click(function(){
    var tbody = $('#table_body').prepend(''+
        '<tr class="fresh">'+
            '<td>John Doe</td>'+
            '<td>235-75-75</td>'+
            '<td>some text</td>'+
            '<td>@#!@#!%!#%</td>'+
        '</tr>');
    setTimeout(function(){
        tbody.children('tr:first-child').removeClass('fresh');
    }, 1000);
});
I'm going to add a few rows with «fresh» class in the table. Then I want to remove the class of each new line after a certain time. But it does not work the way I planned. If you add multiple rows, the class will be removed only at the last added row. How to fix that?
Thanks a lot :)
 
     
     
     
    