> -----Original Message-----
> From: Jonathan Chaffer [mailto:[EMAIL PROTECTED] 

> > But now I'd like to add a bottom border to each 'set' (like the txt
> > example above) but so far my attempts haven't worked... I either  
> > get the
> > bottom border correct - or my striping on each 'set' gets 
> thrown off..
> 
> How about this?
> 
> if (rowIndex % 2 == 1){
>    $(this).addClass('bottom-border');
> };
> 
> That will add the "bottom-border" class to the second (last) item of  
> each group. You could insert this clause right after the  
> existing .addClass() line.


Much better than the path I was going on with:
        $('table.chemtable
tr:contains("ACTIVITY/UNITS:")').addClass("bottom-border");

It seemed to work but yours is much better! :)

Thanks!
Jim

Reply via email to