[RESOLVED] Disable/Enable checkboxes based on dropdown selection ALL RIGHTS RESERVED. Loop (for each) over an array in JavaScript. To learn more, see our tips on writing great answers. Find centralized, trusted content and collaborate around the technologies you use most. In JavaScript, set the button to disable attribute to true to disable it and false to enable it. For example, create an unordered list using the ul tag and set style to list-style: none; so that no bullet marks appear with the list items. How to change the checkbox value using jQuery ? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. It is important to remember that the checked attribute does not correspond to the checked property. Here Mudassar Ahmed Khan has explained how to enable disable CheckBox in GridView based on some condition in ASP.Net using C# and VB.Net. In the below section we will see three ways of disabling the checkboxes. Next, I have written a function called updateCheckBox().The ng-change directive (that I have added to the