Select All checkboxes using jQuery

前端 未结 15 1613
渐次进展
渐次进展 2020-12-05 06:26

I have the following html code:

    
    

15条回答
  •  借酒劲吻你
    2020-12-05 07:05

    $(document).ready(function () {
        $(".class").on('click', function () {
            $(".checkbox).prop('checked', true);
        });
    });
    

提交回复
热议问题