[jQuery] First add new row, ther re-stripe

[jQuery] First add new row, ther re-stripe


Hi
I have a table, that I re-render after a click, like this.
$(document).ready(function() {
    $('input[name="category"]').click(renderTable);
});
Then I remove all existing rows, get new ones, and add the to the table,
works fine!
// remove old rows
$('tbody.tbody_class').children().remove();
// add the new rows
$('tbody.tbody_class').html(newTable);
Now want to re-stripe the table after the new row are added, how do I do
that?
any clues?
all the best / johannes
--
View this message in context: http://www.nabble.com/First-add-new-row%2C-ther-re-stripe-tp20911676s27240p20911676.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.