[jQuery] radio buttons, label and double fired functions

[jQuery] radio buttons, label and double fired functions

<html>
<body>
Hi folks,
I have a set of radio buttons of the form:
<tt><a href='#' class='ltype' id='A1'><input type='radio' id='A'
name='iLTID' value='1' /></a><label for='A'>standard
link</label>
<a href='#' class='ltype' id='B2'><input type='radio' id='B'
name='iLTID' value='2' /></a><label for='B'>review
link</label>
</tt>that is activated by:
<tt>$("a.ltype").bind("click",function()
{linkType(this.id);});
</tt>When I click on any radio button in the set, the function is (as I
wanted) fired once.  However, if I click on the text (i.e. between
the label tags), the function is fired twice.
As well as seeking a fix, I'd also like to understand why this
happens.
Cheers,
Bruce
</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/