title: Checkbox value always returns "on"?
body: <p>I'm trying to return the value of a checkbox to enable and disable a button.
  Making the checkbox is not a problem, the problem is the check box value always returns on. How should I get a value indicating if the checkbox is checked?</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;form&gt;
      &lt;input type="checkbox" id="checkbox" /&gt; &lt;label&gt;Do you agree  &lt;/label&gt;&lt;br /&gt;
      &lt;input type="button" value="Continue" id="button" disabled="disabled" /&gt;
  &lt;/form&gt;  
  </code></pre>
  
  <p>Javascript:  </p>
  
  <pre><code>$('#checkbox').change(function(){
      var checkboxValue = $(this).val();
      alert(checkboxValue);
  });
  </code></pre>