this is for checkbox checkall in a table


$(function () {
   $('.checkall').click(function () {
    $(this).closest('table').find(':checkbox').prop('checked', this.checked);


});
});

<input type="checkbox" class="checkall">

Comments

Popular posts from this blog

Jquery Captcha validation plugin

Resize ReCaptcha width height