checkbox radio 多次操作失效

checkbox radio 多次操作失效 ,

将attr替换为prop

$(this).attr('checked',true);
$(this).attr('checked',false);


$(this).prop('checked',true);
$(this).prop('checked',false);

  

原文地址:https://www.cnblogs.com/yyf573462811/p/7911562.html