ajax submit serialize form 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()
}