Get Every Value From A Form When Submitting Via AJAX With JQuery

Posted By Weston Ganger

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:

Article Topic:Software Development - Javascript

Date:August 04, 2016