jQuery, Chrome, and Checkboxes. Strange Behavior

后端 未结 4 682
伪装坚强ぢ
伪装坚强ぢ 2021-02-07 18:39

I\'ve looked around the site and can\'t seem to find an answer for this question. Feel free to direct me to said question, if it does indeed exist.

I\'m currently trying

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-07 18:53

    Instead of this:

    $(':checkbox').removeAttr('checked');
    

    You should do this:

    $(':checkbox').attr('checked', false);
    

    Cheers

提交回复
热议问题