You may want to submit a form via ajax and use the data from an entire form. This is ridiculously easy with jQuery’s serialize method.


$.ajax({
  ...
  data: $("#my-form").serialize(),
  ...
})

Just like that, done deal.


Related External Links: