How to deal with browser differences with indeterminate checkbox

前端 未结 4 829
夕颜
夕颜 2020-12-14 17:30

Primer: An HTML checkbox can be set as indeterminate, which displays it as neither checked nor unchecked. Even in this indeterminate state, the

4条回答
  •  有刺的猬
    2020-12-14 18:27

    This solved my problem

    $(".checkbox").click(function(){
        $(this).change();
    });
    

提交回复
热议问题