title: Getting Checkbox Value Jquery Mobile
body: <p>I am setting my jquery mobile checkboxes like so..</p>
  
  <pre><code> $("#checkbox-2a").attr("checked", settings.DEnabled).checkboxradio("refresh");
  </code></pre>
  
  <p>Here is the markup</p>
  
  <pre><code> &lt;fieldset data-role="controlgroup" data-mini="true" style="text-align:center;"&gt;
              &lt;input type="checkbox" name="checkbox-2a" id="checkbox-2a" class="custom" /&gt;
              &lt;label for="checkbox-2a"&gt;
                  Enable D&lt;/label&gt;
  ..
  </code></pre>
  
  <p>The checkboxes get checked correctly. But now when I want to retrieve a value with this code..</p>
  
  <pre><code>  settings.DEnabled = $("#checkbox-2a").attr("checked");
  </code></pre>
  
  <p>When I debug it returns 'checked', when I look at the markup eventhough the checkboxes are getting updated when the correct check bool in the ui. I dont see a 'checked' attribute in the markup.</p>
  
  <p>How do I get/find the value of the checkbox?</p>