You can use the prop () method to check or uncheck a checkbox, such as on click of a button. I immediately thought of doing this with jQuery. Entrepreneur, Blogger & PHP Web Developer. $('input[name=foo]').is(':checked') $('input[name=foo]').attr('checked') Set the checkbox … All you have to do is just follow or download our code as … Save my name, email, and website in this browser for the next time I comment. How to check-uncheck all checkbox With jQuery. Attach a click event handler to all HTML table row checkboxes. Check/Uncheck All Checkboxes with JQuery This article demonstrate how to achieve one of the common functionality that is check-uncheck all checkboxes using Jquery. Also note that this script will only work with jquery 1.7.2 library and above. You can also subscribe without commenting. This post is about Checking and Un-Checking all the check boxes with one single click. Download 100% FREE Office Document APIs for .NET There are several ways to get to work out if a checkbox is checked or not with jQuery, and here a couple of alternatives. I $ (document).ready (function () {. It's a quiz. Step 1: Create a page named "Default.aspx" in the web application project/website and open its "Design Mode" and add a GridView into it from the toolbox. As I will cover this Post with live Working example to develop jquery select all checkboxes in table column, so the jquery multiselect checkbox select all for this example is following below. If the group of checkbox contains disabled checkbox… launch quickly? Use the following procedure to do that. Here we will discuss an example table that will have a master checkbox on the header and each table row with its own checkbox.. A user can check/uncheck all rows using a single master checkbox on the header. $ (".chkbox").prop ('checked', $ (this).prop ('checked', true)); } JavaScript Solution A checkbox’s state can be changed using the HTMLInputElement’s checked attribute. Well as the post title says it will do the exact same thing. Software is the hardware of my life. Adding the check/uncheck effect with Jquery You can check or uncheck a checkbox element or a radio button using the .prop() method: Add class chk_all to it. Contact Jquery function use to check/uncheck checkboxes: