form.serialize in ajax mvc code example
Example: serialize and send form data jquery ajax
$.ajax({
type : 'POST',
url : 'url',
data : $('#form').serialize()
}
$.ajax({
type : 'POST',
url : 'url',
data : $('#form').serialize()
}