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