jQuery checkboxAll: Select All Checkboxes Demos

Example 1

Default settings

Example 2

With optional class name