Jquery CheckBox 选中和非选中

if($("input[name='is_pay']").prop('checked')) {

	$("input[name='is_pay']").prop('checked', true);
	$("input[name='is_pay']").attr("checked",true);
} else {
	
	$("input[name='is_pay']").prop('checked', false);
	$("input[name='is_pay']").removeAttr("checked");
}

  

<td style='vnd.ms-excel.numberformat:@'></td> 
导出excel身份证显示问题处理
原文地址:https://www.cnblogs.com/lovekingly/p/8600962.html