For example, you may want to conditionally show or hide form fields when a checkbox is selected. How to create “check/uncheck all” with checkboxes? Example: $('#your-checkbox').prop('checked', true); check / uncheck checkbox using jquery? What is the difference between properties and attributes in HTML? $('#checkboxid').is(':checked'); This will return true if the checkbox is checked and false if left unchecked. Using the jQuery :checked Selector. Is there an “exists” function for jQuery? This article shows how to select all checkboxes in a page, select checkboxes within one block or selected area, check selective boxes within the block or page. I have a form with a checkbox. At whose expense is the stage of preparing a contract performed? To check/uncheck a checkbox, use the attribute checked and alter that. Is it okay to face nail the drip edge to the fascia? Get your certification … Pandigital fraction sum that evaluates to 1. The :checked CSS pseudo-class selector represents any radio (), checkbox (), or option (