The hard part here is that ASP.NET assigns auto-generated attributes idto all elements runat="server", including yours TextBox. A simple solution is to "paste" the generated idin the script:
function enableTextbox() {
var txtCommision = document.getElementById("<%= txtCommision.ClientID %>");
txtCommision.disabled = !this.checked;
}
" " - , , JavaScript - id <input>. class. - , JavaScript, jQuery .