I am trying to check radio. Neither the following works:
[edit]
$(\'selector\').attr(\'checked\',\'checked\'); $(\'selector\').attr(\'checked\',true)
I don't think you can call
$.attr('checked',true);
because there is no element selector in the first place. $ must be followed by $('selector_name'). GOod luck!