Does:

    $myCachedSelector.removeAttr('disabled');

work as expected?

On Nov 1, 11:42 pm, north <ollo...@web.de> 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);
>
> The selected object simply remained to be disabled.
>
> When I used the normal syntax $('#mySelector').attr('disabled',
> false); it worked.
>
> I'm not sure if it's a problem with my script of some kind of "bug"?
>
> Any ideas?
>
> Thanks!

Reply via email to