title: Set value to input type checkbox with JQuery
body: <p>I am using Spring MVC to create a checkbox like this:</p>
  
  <pre><code>&lt;form:checkbox id="idVerifiable" path="verifiable"/&gt;
  </code></pre>
  
  <p>It generates me:</p>
  
  <pre><code>&lt;input id="idVerifiable" type="checkbox" value="false" name="verifiable"&gt;
  </code></pre>
  
  <p>If I try:</p>
  
  <pre><code>$('#idVerifiable').val("true");
  </code></pre>
  
  <p>It sets the value but the checkbox is not checked, how to change this to make it work?</p>