Re: [jQuery] How to make radio button selected?

2006-12-14 Thread Alex Cook
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean O Subject: [jQuery] How to make radio button selected? Based on what is typed, I want one of two radio buttons with the same name, but distinct IDs, to be selected. I have the RegEx working fine to pick out unique strings in the

Re: [jQuery] How to make radio button selected?

2006-12-14 Thread Sean O
Thanks, Mike. Knew it was something simple. It was the [0] that did it, I had tried simply .checked = true; SEAN O malsup wrote: > > $('#check_red')[0].checked = true; > > > On 12/14/06, Sean O <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> >> I'm trying to select a radio button bas

Re: [jQuery] How to make radio button selected?

2006-12-14 Thread Mike Alsup
$('#check_red')[0].checked = true; On 12/14/06, Sean O <[EMAIL PROTECTED]> wrote: > > Hi, > > > I'm trying to select a radio button based on user input in a text box. > > Based on what is typed, I want one of two radio buttons with the same name, > but distinct IDs, to be selected. I have the Re

[jQuery] How to make radio button selected?

2006-12-14 Thread Sean O
Hi, I'm trying to select a radio button based on user input in a text box. Based on what is typed, I want one of two radio buttons with the same name, but distinct IDs, to be selected. I have the RegEx working fine to pick out unique strings in the text box, but can't get the rest. e.g. O red