I'm trying to set a CSS style using .live(). The CSS function:
$(".data tr:odd").addClass("evenrows");
Is there a way for this to happen automatically on document ready but still happen for future elements? I've got an ajax event on the page that re-orders a table. I need these newly created rows to have the .addClass applied to them.
Thanks in advance.