<span style="font-size:10px;">——authored by 李家优 </span>
$('#J-reg-inputCK').on("click",function(){
if($(this).is(':checked')){
$(this).attr("checked","checked");
}else{
$(this).attr("checked",false);
}
});
<span style="font-size:10px;">——authored by 李家优 </span>
$('#J-reg-inputCK').on("click",function(){
if($(this).is(':checked')){
$(this).attr("checked","checked");
}else{
$(this).attr("checked",false);
}
});