$("input[type='checkbox']").off("click");
$("input[type='checkbox']").on('click',function(){
var flag = $(this).is(':checked');
if(flag){
if(user.corpId == $(this).attr("vociDeptId")){
$.alert("您和候选人属于同一个部门,不能投票!");
$(this).prop("checked",false);
}
}
});
checkbox状态改变事件
最新推荐文章于 2024-05-22 09:58:49 发布