How we can disable enable controls of specific div on checkbox click/change,
I have three checkboxes and three divs, what I want to do is, on checkbox one checked enable div one controls (textboxes, select). so far I'm able to get the checkbox enable disable event like the code below
- $('#chkbxOne').change(function () {
- var c = this.checked ? 'T' : 'F';
- if (c == "T") {
- alert("Enable");
- }
- if (c == "F") {
- alert("Disable");
- }
- });
same for other two divs


Amit MohantyRank #112 · 20K reputationPosted Feb 3, 2020, 1:12 AM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Feb 3, 2020, 12:08 AM EST
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Feb 3, 2020, 12:42 AM EST
Rameez JavedRank #3,873 · 383 reputationPosted Feb 3, 2020, 1:22 AM EST