I am currently using a function .load()to dynamically load content into a container div. The downloadable content is the table data that I would like to use for the zebra stripes. The zebra stripe is simple on a static page, but I cannot figure out how the zebra stripe loads new content into a container div.
Here is the code I'm trying to work with:
$("table tbody tr:even").live("EVENT", function(){
$(this).addClass("alt");
});
"EVENT" should not be "click"either "mouseover", but "onload" or something like that. Is there any way to do this? Thanks for your suggestions!
~ Jared
source
share