Hi,
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");
- }
-
- });
where it alerts Enable, i want to enable all controls of this div,
same for other two divs