jQuery serializar datos de formulario para objetar
var data = {};
$(".form-selector").serializeArray().map(function(x){data[x.name] = x.value;});
Old-fashioned Orangutan
var data = {};
$(".form-selector").serializeArray().map(function(x){data[x.name] = x.value;});