title: JQuery submitted values for checkboxes are undefined
body: <p>I just received some really great help today with a prior jQuery problem and figured since my luck was running that maybe I could also get some help with some checkboxes. Can someone please tell me what I am doing wrong?</p>
  
  <p>Thanks!</p>
  
  <p>The checkboxes are correctly echoing the database bool values but when I submit the changed values, an alert() telles me that they are undefined.</p>
  
  <pre><code>        else if (item.field == "admCustRptDly" &amp;&amp; item.value == "1")
          {
            $('#admCustRptDly').attr('checked', true);
          }
  
          else if (item.field == "admCustRptSumm" &amp;&amp; item.value == "1")
          {
            $('#admCustRptSumm').attr('checked', true);
          }
  
          else if (item.field == "admCustRptDtl" &amp;&amp; item.value == "1")
          {
            $('#admCustRptDtl').attr('checked', true);
          }
  
  &lt;tr&gt;
      &lt;td class="admMarker"&gt;Daily&lt;input type="checkbox" id="admCustRptDly" name="admCustRptDly" class="admChkbx"&gt;&lt;/td&gt;
      &lt;td class="admMarker"&gt;Summary&lt;input type="checkbox" id="admCustRptSumm" name="admCustRptSumm" class="admChkbx"&gt;&lt;/td&gt;
      &lt;td class="admMarker"&gt;Detail&lt;input type="checkbox" id="admCustRptDtl" name="admCustRptDtl" class="admChkbx"&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>$(function() {   $('.error').hide();
      $('input.text-input').css({backgroundColor:"#FFFFFF"});
      $('input.text-input').focus(function(){
          $(this).css({backgroundColor:"#FFDDAA"});
      });  
      $('input.text-input').blur(function(){
          $(this).css({backgroundColor:"#FFFFFF"});
      });
  
        $(".admCustBtn").click(function()
      {       // validate and process form
              // first hide any error messages
          $('.error').hide();
  
  
  
            var admCustRPSecPhone =
      $("input#admCustRPSecPhone").val();
            var admCustRptDly =
      $("checkbox#admCustRptDly").val();  
      var admCustRptSumm =
      $("checkbox#admCustRptSumm").val();
            var admCustRptDtl =
      $("checkbox#admCustRptDtl").val();
  
              var dataString =
          'admCustID='+ admCustID +
          '&amp;admCustRptDly='+ admCustRptDly +
          '&amp;admCustRptSumm='+ admCustRptSumm +
          '&amp;admCustRptDtl='+ admCustRptDtl;
  
              alert (dataString);return false;
  
              $.ajax({
            type: "POST",
            url: "body.php?action=admCustomer",
            data: dataString,
            success: function(){
              alert( "Success! Data Saved");
            }
           });
          return false;   }); });
  </code></pre>