Cogito ergo sum

Select all checkboxes on a webpage using Jquery

I wanted to select all inbox messages on a website which I use for the university, the website doesn’t have a “select all ” functionality.
This jquery code snippet selects all checkboxes and check them.

jQuery('input:checkbox').each(function () { 
  var elem= jQuery(this);


About the author

Peshmerge Morad

A IT-student and a programmer based in the Netherlands whose interests span multiple fields.

Add comment

By Peshmerge Morad
Cogito ergo sum

Privacy Preference Center