get data from form on ajax code example
Example: ajax get form data
var form = // Select your form here;
var fmData = new FormData();
form.append('name',fmData);
$.ajax({
url:'URL',
type:'POST',
data:fmData,
success:function(){},
error:(er){}
})