I have HTML page which have multiple check boxes and individually they can be checked. I have button select, so what I am suppose to do is. When I click on sel
select
You can do it like this also with ':checkbox' selector.
':checkbox'
$(document).ready(function () { $('#selectAll').on('click', function () { $(':checkbox').each(function () { $(this).click(); }); }); });