$("#<%=chkTrueAnsRequired.ClientID%>").change(function () { var chkAllowText = $("#<%=ChkAllowText.ClientID%>"); if (this.checked) { chkAllowText.attr("disabled", true); } else { chkAllowText.removeAttr("disabled"); } });
input[disabled] { ... /* CSS here */ ... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)