With the help of jQuery prop() method, you can use it to check or uncheck a checkbox dynamically. For better performance in modern browsers, use [type="checkbox"] instead. A quick little jQuery snippet in order to select all checkboxes in a list of checkboxes. Get the value of an attribute for the first element in the set of matched elements or set one or more attributes for every matched element. Have a read of my follow up post using HTML