A simple way of checked all checkboxes and at least one checkbox should be checked validation in AngularJS. Hello, I am looking to disable all checkboxes when one checkbox is selected. Basically, to prevent a scenario where no checkboxes are selected at all. There can be any number of checkboxes for selection. All the checkboxes can be selected just by selecting one check box in common. A protip by tmaster about checkbox, jquery, and javascript. I want to disable all other checkboxes when one is selected. C# CheckBox Control CheckBoxes allow the user to make multiple selections from a number of options. This article, by Scott Mitchell, examines how to create custom, compiled validator controls for the CheckBox and CheckBoxList Web controls. Differences Between HTML and XHTML. Code Snippet #4: The code we wrote today was to enable multiple checkboxes using one single checkbox in JavaScript. Input Checkbox checked Property ... returns true if the checkbox is checked, ... but we cannot warrant full correctness of all content. All the rows in a DataGrid, including the Header, are accompanied with a CheckBox. CheckBox to give the user an option, such as true/false or yes/no. I try your code I have got one suggestion: when I click on select all, ... (checkbox.checked == false) I got a pageblock table displays some values each records in the table has a checkbox to select. Almost all the user interfaces that I have created had this functionality of selecting multiple items from a list to process them or delete them. What's the best way of disabling a checkbox when it's the only one checked in jQuery? In XHTML, attribute minimization is forbidden, and the checked attribute must be defined as . The checked property sets or returns the checked state of a checkbox. How to select / deselect all checkboxes using jQuery - Simple jQuery script for check or uncheck all checkboxes on single click. Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to check or uncheck all checkbox or checkboxes in GridView using JavaScript This property reflects the HTML checked attribute.