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