title: How to disable checkbox with jquery?
body: <p>I searched more time with it but it's not work, I want to checkbox is disabled, user not check and can check it if some condition. Ok, now, I tried disabled them. I use jquery 2.1.3</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;input type="checkbox" class="checkbox1" id="chk" name="check[]" value="U01" /&gt;Banana
   &lt;input type="checkbox" class="checkbox1" id="chk" name="check[]" value="U02" /&gt;Orange
   &lt;input type="checkbox" class="checkbox1" id="chk" name="check[]" value="U03" /&gt;Apple
   &lt;input type="checkbox" class="checkbox1" id="chk" name="check[]" value="U04" /&gt;Candy</code></pre>
  </div>
  </div>
  </p>
  
  <pre><code>$(window).load(function () {
      $('#chk').prop('disabled', true);
  });
  </code></pre>