title: jQuery ajaxSubmit(): ho to send the form referencing on the fields id, instead of the fields name?
body: <p>im pretty new to jQuery, and i dont know how to do that, and if it can be done without editing manually the plugin.</p>
  
  <p>Assume to have a simply form like that:</p>
  
  <pre><code>&lt;form action="page.php" method="post"&gt;
  Name: &lt;input type="text" name="Your name" id="contact-name" value="" /&gt;
  Email: &lt;input type="text" name="Your email" id="contact-email" value="" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When you submit it, both in 'standard' way or with ajaxSubmit(), the values of the request take the label of the field name, so in the page.php i'll have:</p>
  
  <pre><code>$_POST['Your name'];
  $_POST['Your email'];
  </code></pre>
  
  <p>Instead i'll like to label the submitted values with the <strong>id</strong> of the field:</p>
  
  <pre><code>$_POST['contact-name'];
  $_POST['contact-email'];
  </code></pre>
  
  <p>Is there a way to do that with jquery and the ajaxsubmit() plugin?
  And, maybe, there is a way to do it even with the normal usage of a form?</p>
  
  <p>p.s: yes, i know, i could set the name and id attributes of the field both as 'contact-name', but how does two attributes that contain the same value be usefull?</p>