jquery serialize form add data code example
Example: how to serialize form data in jquery
$("button").click(function(){
$("div").text($("form").serialize());
});
$("button").click(function(){
$("div").text($("form").serialize());
});