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