title: Correct way of knowing if a checkbox is checked
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2204250/check-if-checkbox-is-checked-with-jquery">Check if checkbox is checked with jQuery</a>  </p>
  </blockquote>
  
  
  
  <p>I am a little bit confused about how the input of type checkbox works.</p>
  
  <p>If I set a value, say 1, on a checkbox, I see that regardless of the checkbox is checked or not, the value that I get when the form is submitted is 1. </p>
  
  <pre><code>&lt;input type="checkbox" value="1"&gt;
  </code></pre>
  
  <p>So, the correct way to see if a checkbox is checked is to use the <code>checked</code> from jQuery? Or how it can be done correctly?</p>