[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! $(document).ready(function(){ $("#button1").click(function(){ $("input:radio[name='RadioGroup1']:nth(0)").attr("checked","checked"); $("input:rad

[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: 0 1 2 0 1 2 On Apr 15, 2:08 am, "madrid440-goo...@yahoo.co.uk" wrote: > I'm getting lost in selectors... > > I am trying to achieve the following: > A button click needs to select certain radio bu