I am trying to enable/disable radiobuttonlist with javascript code. This javascript is working fine with textboxes but it looks like that it doesn't work with radiobuttonlist. Here is the code I am using:
var chkEPM = document.getElementById("<%=chkEPM.ClientID %>");
chkEPM.onchange = function () {
if (this.checked == true)
document.getElementById("<%=rblEPM.ClientID %>").disabled = false;
else
document.getElementById("<%=rblEPM.ClientID %>").disabled = true;
};
Thanks in advance for each reply and have a good day/night