Re: [jQuery] radio buttons, label and double fired functions - thanks

2007-01-12 Thread Aaron Heimlich
On 1/12/07, Bruce MacKay <[EMAIL PROTECTED]> wrote: Thanks Aaron for the solution and explanation - my problem is now fixed and I understand how/why. I'm happy I could help. -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com __

Re: [jQuery] radio buttons, label and double fired functions - thanks

2007-01-12 Thread Bruce MacKay
Thanks Aaron for the solution and explanation - my problem is now fixed and I understand how/why. Cheers, Bruce At 08:10 p.m. 12/01/2007, you wrote: On 1/12/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: And anyway, when you click on a , the element it's associated

Re: [jQuery] radio buttons, label and double fired functions

2007-01-11 Thread Aaron Heimlich
On 1/12/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: And anyway, when you click on a , the element it's associated with gets "clicked" on as well (except in Safari, IIRC), meaning that clicking on labels same effect as clicking on the element it's associated with. Correction: when you click

Re: [jQuery] radio buttons, label and double fired functions

2007-01-11 Thread Bruce MacKay
Sorry Aaron, I tested your solution on a duplicate version of the code which wasn't being called by the browser when I "tested" it. The function is no longer fired twice when the text is clicked - just once. However, the problem now, of course, is that if a user simply clicks on the radio b

Re: [jQuery] radio buttons, label and double fired functions

2007-01-11 Thread Bruce MacKay
Hi Aaron, Your suggested rearrangement of the a tag does not alter the twin firing of the function. The only way to get a single fire is to remove the label tags - and I don't want to do that. Cheers, Bruce At 07:12 p.m. 12/01/2007, you wrote: On 1/11/07, Bruce MacKay <

Re: [jQuery] radio buttons, label and double fired functions

2007-01-11 Thread Aaron Heimlich
On 1/11/07, Bruce MacKay <[EMAIL PROTECTED]> wrote: Why are you wrapping the in an ? Shouldn't it be this instead: standard link And anyway, when you click on a , the element it's associated with gets "clicked" on as well (except in Safari, IIRC), meaning that clicking on labels same effe

[jQuery] radio buttons, label and double fired functions

2007-01-11 Thread Bruce MacKay
Hi folks, I have a set of radio buttons of the form: name='iLTID' value='1' />standard link name='iLTID' value='2' />review link that is activated by: $("a.ltype").bind("click",function() {linkType(this.id);}); When I click on any radio button in the set, the function is (as I wanted) fired