checkbox radio 多次操作失效

checkbox radio 多次操作失效 ,

将attr替换为prop

 

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


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

  

posted on 2017-11-28 18:56  Slege  阅读(152)  评论(0编辑  收藏  举报

导航