[jQuery] Re: removeClass error

2007-07-31 Thread Glen Lipka
I was going for the record therefastest reply. Glen On 7/31/07, Glen Lipka <[EMAIL PROTECTED]> wrote: > > If you declare that doc = $(this) then you dont need to put it in the $() > below. > Just have doc.removeClass('RedText'); > > Imagine the variable is replacing the word...so you basicall

[jQuery] Re: removeClass error

2007-07-31 Thread Glen Lipka
If you declare that doc = $(this) then you dont need to put it in the $() below. Just have doc.removeClass('RedText'); Imagine the variable is replacing the word...so you basically had $($(this)).removeClass... which wouldn't work. GLen On 7/31/07, Shelane <[EMAIL PROTECTED]> wrote: > > > Error