[jQuery] Re: Selecting radio buttons within different RadioGroups via a click

2009-04-16 Thread madrid440-goo...@yahoo.co.uk
OK - I have the solution so I figured I'd post it to help anyone else looking for the same solution. If you can make it cleaner/better, please post! script $(document).ready(function(){ $(#button1).click(function(){ $(input:radio[name='RadioGroup1']:nth(0)).attr(checked,checked);

[jQuery] Re: Selecting radio buttons within different RadioGroups via a click

2009-04-15 Thread madrid440-goo...@yahoo.co.uk
I should have added some clearer HTML. I've added tables to break it up a bit: input type=submit name=button1 id=button1 value=Selection1 / input type=submit name=button2 id=button2 value=Selection2 / table tr td labelinput type=radio name=RadioGroup1 value=0 id=RadioGroup1_0 /0/label