title: Bootstrap Switch - ON state
body: <p>I am using this <a href="http://www.bootstrap-switch.org/" rel="noreferrer">bootstrap switch library</a>.</p>
  
  <p>I have a checkbox in my html. Now, it is always showing in the OFF state, even though its checked property is set to true when the document is loaded.</p>
  
  <p>What do I need to do besides that?</p>
  
  <p><strong>Edit</strong> - What I understand is Switch is adding a container around input type checkbox field with class <code>bootstrap-switch-off</code> by default, irrespective of the value of checked attribute that goes by with the checkbox field.</p>
  
  <pre><code>&lt;input type="checkbox" name="my-custom" id="Switch" checked="true"&gt;
  </code></pre>