title: Check Checkbox Disabled (Jquery)
body: <p>The purpose is to;<br>
  If checkbox is disabled, do nothing.<br>
  If checkbox is enabled and checked, set the style of a button.<br>
  Here is what I've got so far;</p>
  
  <pre><code> $(document).ready(function (e) {
  
  
          $(".checkbox").live("click", function () {
  
              if ($(this).hasAttribute('disabled')) {
                  return false;
              }
              var isAnyChecked;
  
              $("input[type=checkbox]").each(function () {
                  var checkedValue = $(this).attr("checked");
                  if (checkedValue == "checked") {
                      isAnyChecked = true;
                  }
  
  
              });
  
              if (isAnyChecked) {
                  $("#&lt;%= btnConfirm.ClientID %&gt;").css("display", "block");
  
              } else {
                  $("#&lt;%= btnConfirm.ClientID %&gt;").css("display", "none");
  
              }
  
  
          });  });
  </code></pre>
  
  <p>I've tried <code>.is(':disabled')</code>, <code>.hasAttr()</code>, <code>.prop()</code> and <code>.attr()</code>. Any help would be greatly appreciated.</p>