Skip to content
A simple way to select all your checkboxes
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

tCheckAll, What is this?

tCheckAll is a jquery plugin that allows you to check or uncheck all your checkboxes.
It was built using the jQuery library.


Copyright (c) 2014 Alfredo Berumen Saldivar

How to use

Include tCheckAll plugin in your website directory then load files in the section of your HTML document. Don't forget to add the jQuery library (version 1.9+).

	<script src="//" type="text/javascript"></script>
    <script type="text/javascript" src="jquery.tcheckall.min.js"></script>

Just put your 'Check All' link, button or any clickable element identified by an id inside a

tag, use whatever name you wish for the id. For example:

<div id="my_id">
		<a href="javascript:void(0)" id="all"> Select All</a><br />
		<input type="checkbox" name="my_name[]" value="1" />1<br />
		<input type="checkbox" name="my_name[]" value="2" />2<br />
        <input type="checkbox" name="my_name[]" value="3" />3<br />
		<input type="checkbox" name="my_name[]" value="4" />4<br />
		<input type="checkbox" name="my_name[]" value="5" />5<br />

Trigger the plugin using the following code:

    $(document).ready(function() {

You can use the following custom events and add your own code

    $(document).ready(function() {
		$("#all").on("beforeCheck", function() {
			$(this).text('Un Check All');
		$("#all").on("beforeUnCheck", function() {
			$(this).text('Check All');


For a live demonstration visit: tCheckAll demo

Or visit the official web page: Official site


Licensed under MIT license

Supported Browsers

Safari 6.02+
Firefox 17+
IE 7+
Opera 12.11+

Bug tracker

Have a bug? Please create an issue on GitHub at

You can’t perform that action at this time.