color = 'red';
> > } else if (color === 'red') {
> > $(this).css({'background-color': 'red'});
> > color = '';
> > } else {
> > color = 'red';
>
Ok, it work, but I another trouble.
the code now become:
$('tr:not(.className):odd').css({'background':'red'});
because I would like to color row alternatively.
The problem is that I would like that the alternativy start alway with
red.(first '' after every '' red,
then 'white', then red,)
Hi every body,
i have a table like this (simplify):
I would like to color the blackground of the without class
3 matches
Mail list logo