title: How to submit a dynamically generated form to AJAX?
body: <p>I have an AJAX call which dynamically generates a HTML form. This form contains a number of elements including inputs, selects, textareas, checkboxes as well as    etc.</p>
  
  <p>I need to write some javascript (jquery available) to get all the fields in this form and submit them to an AJAX script. I won't know how many or what fields are there (only a basic idea) as it all depends on what the user does.</p>
  
  <p>Any ideas how to do this? Lets say my form name is 'ajaxform'</p>