I have two radio buttons with the same name, one is checked by default. How can you check or uncheck a radio button in jQuery when selecting from id?
I've tried:
$('#radio1').attr('checked','checked');
$('#radio1').attr('checked', true);
Nothing seems to work.. any ideas?
Thank you!