[jQuery] Re: Issue when caching jquery objects

2009-11-03 Thread north
Hi James, this issue occured when I was using variables to store the objects. Now I'm using a config object, and if I do something like this: config.$myCachedSelector.attr('disabled', false); it works... Thanks On 2 Nov., 20:15, James wrote: > Does: > >     $myCachedSelector.removeAttr('disab

[jQuery] Re: Issue when caching jquery objects

2009-11-02 Thread James
Does: $myCachedSelector.removeAttr('disabled'); work as expected? On Nov 1, 11:42 pm, north wrote: > Hi, > > I usually cache jquery objects in variables or a config object. > > Lately I ran into a strange issue with that when trying to do this: > > $myCachedSelector.attr('disabled', false);