[jQuery] Re: IE click event handling problem

2009-08-05 Thread ak732
@Ricardo: I've cleaned up my code as you recommend. Thanks for the tips. Andy On Aug 4, 6:06 pm, Ricardo 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(){ >

[jQuery] Re: IE click event handling problem

2009-08-04 Thread Ricardo
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

[jQuery] Re: IE click event handling problem

2009-08-04 Thread ak732
So, although it's an ugly hack, I'm working around the issue by setting the background of the overlay element to #fefefe and giving the element an opacity of 0.01. Which works. On Aug 4, 2:12 pm, ak732 wrote: > Thanks elubin.  Actually, I had already tried that.  I set z-indexes > for the paren

[jQuery] Re: IE click event handling problem

2009-08-04 Thread ak732
Thanks elubin. Actually, I had already tried that. I set z-indexes for the parent, the checkbox and the anchor overlaying the checkbox (actually, you can see some remaining, commented out code from when I tried it). Anyway, z-index tweaks didn't appear to fix the problem. I just now tried sett

[jQuery] Re: IE click event handling problem

2009-08-04 Thread elubin
try raising the z-order of the anchor