Hi folks,

I have a set of radio buttons of the form:

<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>

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 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
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to