//选中的input
$('input[name="radioName"]:checked').val();
//是否被选中jq为2版本
$(this).is(":checked")
$("input").prop("checked",true)//所有选中的input
$("input").prop("checked",false)/取消选中的input
//不能用attr,attr和attr的区别
<input name="name" checked>
$("input").attr("name")
$("input").prop("checked")