[jQuery] Re: cancelling default click handler for

2009-03-10 Thread Klaus Hartl
On 10 Mrz., 16:00, Karl Swedberg wrote: > >         > > > Not saying that I prefer this way, just that it's possible. > > --Karl Cool. I've never tried that... --Klaus

[jQuery] Re: cancelling default click handler for

2009-03-10 Thread Karl Swedberg
On Mar 9, 2009, at 3:07 AM, Klaus Hartl wrote: One reason not doing it is probably because IE only supports explicitly associated labels. --Klaus Sure, but that doesn't mean you can't do this: Not saying that I prefer this way, just that it's possible. --Karl On 9 Mrz., 04:

[jQuery] Re: cancelling default click handler for

2009-03-09 Thread Klaus Hartl
One reason not doing it is probably because IE only supports explicitly associated labels. --Klaus On 9 Mrz., 04:13, Karl Swedberg wrote: > having the input inside the label is perfectly valid. > > http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1 > > "To associate a label with anothe

[jQuery] Re: cancelling default click handler for

2009-03-08 Thread Karl Swedberg
having the input inside the label is perfectly valid. http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1 "To associate a label with another control implicitly, the control element must be within the contents of the LABEL element. In this case, the LABEL may only contain one control el

[jQuery] Re: cancelling default click handler for

2009-03-08 Thread David Muir
And why is the input within the label? I was under the impression that the correct format is: My Label To have the label select the checkbox: My Labeltype="checkbox" /> David MorningZ wrote: is there any reason why you couldn't use a instead of a ? On Mar 8, 8:57 pm, Bill wrote: I

[jQuery] Re: cancelling default click handler for

2009-03-08 Thread Bill
Actually, no. Thanks for the simplification! On Mar 8, 6:12 pm, MorningZ wrote: > is there any reason why you couldn't use a instead of a > ? > > On Mar 8, 8:57 pm, Bill wrote: > > > I have markup that looks like this: > > > > >     > >         > >         witness whereof > >     > >    

[jQuery] Re: cancelling default click handler for

2009-03-08 Thread MorningZ
is there any reason why you couldn't use a instead of a ? On Mar 8, 8:57 pm, Bill wrote: > I have markup that looks like this: > > >     >         >         witness whereof >     >     (4104) > > > When I click anywhere within the label, the checkbox toggles from its > previous state. I'