@Ricardo:

I've cleaned up my code as you recommend.  Thanks for the tips.

Andy

On Aug 4, 6:06 pm, Ricardo <ricardob...@gmail.com> wrote:
> You could use a opacity of 0, it's not that ugly of a hack.
>
> And you could use this simple logic instead of ifs and is()'s:
>
> var cb = this; //checkbox
> .click(function(){
>    cb.disabled = !cb.checked && !cb.disabled;
>    cb.checked = !cb.disabled && !cb.checked;
>    return false;
>
> });
>
> cheers,
> ricardo

Reply via email to