title: How does ajax form submission work?
body: <p>I know how to use ajax for submitting a form and all. What I am concerned about is, what is actually happening in the background when a form is submitted via ajax. </p>
  
  <blockquote>
    <p>How are the values transferred?  Encrypted or not?  And what is the
    need of specifying submission type, I mean get or post, if the URL is
    not showing the form fields?</p>
  </blockquote>
  
  <p><strong>Edit</strong>: Found this on <a href="http://www.w3schools.com/tags/ref_httpmethods.asp" rel="nofollow">w3schools</a>:</p>
  
  <ul>
  <li><p>GET requests can be cached</p></li>
  <li><p>GET requests remain in the browser history</p></li>
  <li><p>GET requests can be bookmarked</p></li>
  <li><p>GET requests should never be used when dealing with sensitive data</p></li>
  <li><p>GET requests have length restrictions</p></li>
  <li><p>GET requests should be used only to retrieve data</p></li>
  <li><p>POST requests are never cached</p></li>
  <li>POST requests do not remain in the browser history </li>
  <li>POST requests cannot be bookmarked</li>
  <li>POST requests have no restrictions on data length</li>
  </ul>
  
  <p>How do these apply to ajax form submission?</p>