title: how to make unchecked check box return a value with jQuery serialize?
body: <p>I have an HTML form with some checkboxes.  I use jQuery <code>.serialize()</code> function to make a query string to submit to the database.  The problem I am having is that when a checkbox is unchecked, the <code>.serialize()</code> function does not register it in the query string.</p>
  
  <p>My problem is illustrated in this jsfiddle: <a href="http://jsfiddle.net/cTKhH/" rel="nofollow">http://jsfiddle.net/cTKhH/</a>.  </p>
  
  <p>This is a problem because i still need to save a value of the unchecked check box to the database.  Right now the information is only saved when the check box is checked. When it is unchecked, and the information from <code>.serialize()</code> is submitted, no change is made since there is no information submitted.</p>
  
  <p>Does anyone know how to make my <code>.serialize()</code> function return the unchecked value for all check boxes when they are unchecked?</p>
  
  <p>Thanks!!</p>
  
  <p>** EDIT **</p>
  
  <p>Just a little more info, I know now why the unchecked check box is not submitted, because it is not a "successful" form control, see here: <a href="http://www.w3.org/TR/html401/interact/forms.html#successful-controls" rel="nofollow">http://www.w3.org/TR/html401/interact/forms.html#successful-controls</a>.</p>
  
  <p>Hopefully I still modify the <code>.serialize()</code> function to submit unchecked values.</p>