JQuery判断checkbox选中,jquery获取选中的checkbox
选中的radio
$('input[name="radInvoiceType"]:checked').val(); 这样能获得
$('input[name="radInvoiceType"][checked="checked"]').val(); 这样不能获得
$(this).attr("checked") == true || $(this).attr("checked") == "checked"也不能获取
$('#chkAgree:checked').length>0 被选中
$(this).attr("checked") == true || $(this).attr("checked") == "checked"不能判断被选中