jquery onclick check all with class code example Example: select all checkboxes jquery $('input:checkbox').prop('checked', true);