$("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状态改变事件
猜你喜欢
转载自blog.csdn.net/u014505277/article/details/72897726
今日推荐
周排行