I was going for the record there....fastest 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 basically had
> $($(this)).removeClass...  which wouldn't work.
>
> GLen
>
> On 7/31/07, Shelane <[EMAIL PROTECTED]> wrote:
> >
> >
> > Error: b.className has no properties
> > Source File: http://mymachine/javascripts/jQuery/jquery.pack.js
> > Line: 11
> >
> >
> > this occurs when I do this:
> > var doc = $(this);
> > function checkIt(){
> > $(doc).removeClass('RedText');
> > }
> >
> > it also occurs when I do this:
> > function checkIt(){
> > $(this).removeClass('RedText');
> > }
> >
> >
>

Reply via email to