title: html form submission via an ajax request?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1960240/jquery-ajax-submit-form">jQuery AJAX submit form</a>  </p>
  </blockquote>
  
  
  
  <p>I have a form on a page A, and instead of me posting to a new page, is there a way that i can do  onSubmit ajax request it instead?  I want to make the page to be able to load in the result into a div.</p>
  
  <p>I know how to write the script for the call sort of, but i wasn't sure if i had to hand write it or it if was possible to take all the form information and send it without having to code it all into the attributes.  i was thinking I could just do some sort of thing like:  onClick, post form but return results into a div.</p>
  
  <p>Thoughts?  Ideas?</p>