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 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 (id=check_red)  O blue  (id=check_blue)
>> (id=textbox) [red] -> select red radio button on blur
>>
>> Tips?
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-make-radio-button-selected--tf2821791.html#a7880858
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to