[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread MorningZ
That's because the inline style declaration has a higher priority than and CSS class :-) Glad you got it working code on!

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread Equand
thanks this works... i forgot to mention that background-color change works... On Sep 19, 11:33 pm, MorningZ <[EMAIL PROTECTED]> wrote: > The problem isn't with jQuery, it's with your CSS > > fire up that example page in Firefox with Firebug's "Inspect" tab open > and you'll see "dblred" get appl

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread Equand
unfortunately i can't clean up the css, because i need this to work without js and on all major browsers... On Sep 19, 11:33 pm, MorningZ <[EMAIL PROTECTED]> wrote: > The problem isn't with jQuery, it's with your CSS > > fire up that example page in Firefox with Firebug's "Inspect" tab open > and

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread MorningZ
The problem isn't with jQuery, it's with your CSS fire up that example page in Firefox with Firebug's "Inspect" tab open and you'll see "dblred" get applied and removed just fine but you'll also see in the "style" pane that this "dblred" class is getting superceeded by the mess of other classes

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread Equand
it affects the NON .odd rows only for me... On Sep 19, 11:18 pm, Equand <[EMAIL PROTECTED]> wrote: > ok a little more complicated version is not working > > > >         >                 t >                 t >                 t >                 t >                 t >                 t >    

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread Equand
ok a little more complicated version is not working t t t t t t t t t t t t

[jQuery] Re: an unusual bug. addClass to td inside tr with a class doesn't affect the cell

2008-09-19 Thread MorningZ
it's not a bug, it's your code, as this works just fine http://paste.pocoo.org/show/85736/