Is there a simple, one-line way to get the data of a form as it would be if it was to be submitted in the classic HTML-only way?
For example:
I use this:
jQuery Plugin
(function($){ $.fn.getFormData = function(){ var data = {}; var dataArray = $(this).serializeArray(); for(var i=0;i
HTML Form
Get the Data
var myData = $("#myForm").getFormData();