title: How can I Enable And Disable Ajax Rating Control on CheckBox Check In JavaScript
body: <p>How can I Enable And Disable Ajax Rating Control on CheckBox Check In JavaScript??</p>
  
  <p>Currently I'm enabling and disabling Textbox on CheckBox Check In JavaScript in this way</p>
  
  <pre><code>function Del_Checked(DelEnabled) {
      var DelStatus = document.getElementById("&lt;%= cb_foodDelStatus.ClientID %&gt;");
      if (DelStatus.checked === true) {
          document.getElementById("&lt;%= tb_DelTime.ClientID %&gt;").disabled = false;
      }
      else {
          document.getElementById("&lt;%= tb_DelTime.ClientID %&gt;").disabled = true;
      }
  }
  
  onclick = "Del_Checked(this.checked);"  // Added this to Checkbox
  </code></pre>