//jQuery 1.6+ use: $('.checkboxClass').prop('checked', true); //jQuery 1.5.x and below use: $('.checkboxClass').attr('checked', true);