获取radio的值

$("input[name='radioName'][checked]").val();

给radio赋值, 选中值为2的radio

$("input[name='radioName'][value=2]").attr("checked",true);